Package net.minecraft.block
Class AbstractLichenBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.AbstractLichenBlock
- All Implemented Interfaces:
ItemConvertible
- Direct Known Subclasses:
GlowLichenBlock,SculkVeinBlock
- Mappings:
Namespace Name official ckiintermediary net/minecraft/class_5778named net/minecraft/block/AbstractLichenBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanprotected static final Direction[]private static final VoxelShapeprivate static final VoxelShapeprivate static final Map<Direction,BooleanProperty> private static final floatprivate final booleanprivate static final VoxelShapeprivate final ImmutableMap<BlockState,VoxelShape> private static final Map<Direction,VoxelShape> private static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeFields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) protected static booleancanGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state) booleancanGrowWithDirection(BlockView world, BlockState state, BlockPos pos, Direction direction) protected booleancanHaveDirection(Direction direction) booleancanPlaceAt(BlockState state, WorldView world, BlockPos pos) booleancanReplace(BlockState state, ItemPlacementContext context) private static BlockStatedisableDirection(BlockState state, BooleanProperty direction) getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) static BooleanPropertygetProperty(Direction direction) private static VoxelShapegetShapeForState(BlockState state) getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.protected static booleanhasAnyDirection(BlockState state) static booleanhasDirection(BlockState state, Direction direction) private static booleanisNotFullBlock(BlockState state) private booleanabstract class_7118method_41437(byte byte2) static bytemethod_41439(@Nullable Collection<Direction> collection) method_41440(BlockState blockState) private BlockStatemirror(BlockState state, Function<Direction, Direction> mirror) mirror(BlockState state, BlockMirror mirror) rotate(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.private static BlockStatewithAllDirections(StateManager<Block, BlockState> stateManager) withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) Methods inherited from class net.minecraft.block.Block
afterBreak, appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isShapeFullCube, isSideInvisible, method_42326, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, scheduledTick
-
Field Details
-
field_31194
private static final float field_31194- See Also:
- Mappings:
Namespace Name Mixin selector official bLcki;b:Fintermediary field_31194Lnet/minecraft/class_5778;field_31194:Fnamed field_31194Lnet/minecraft/block/AbstractLichenBlock;field_31194:F
-
UP_SHAPE
- Mappings:
Namespace Name Mixin selector official cLcki;c:Ldsw;intermediary field_28413Lnet/minecraft/class_5778;field_28413:Lnet/minecraft/class_265;named UP_SHAPELnet/minecraft/block/AbstractLichenBlock;UP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
DOWN_SHAPE
- Mappings:
Namespace Name Mixin selector official dLcki;d:Ldsw;intermediary field_28414Lnet/minecraft/class_5778;field_28414:Lnet/minecraft/class_265;named DOWN_SHAPELnet/minecraft/block/AbstractLichenBlock;DOWN_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_SHAPE
- Mappings:
Namespace Name Mixin selector official eLcki;e:Ldsw;intermediary field_28415Lnet/minecraft/class_5778;field_28415:Lnet/minecraft/class_265;named EAST_SHAPELnet/minecraft/block/AbstractLichenBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_SHAPE
- Mappings:
Namespace Name Mixin selector official fLcki;f:Ldsw;intermediary field_28416Lnet/minecraft/class_5778;field_28416:Lnet/minecraft/class_265;named WEST_SHAPELnet/minecraft/block/AbstractLichenBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector official gLcki;g:Ldsw;intermediary field_28417Lnet/minecraft/class_5778;field_28417:Lnet/minecraft/class_265;named SOUTH_SHAPELnet/minecraft/block/AbstractLichenBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector official hLcki;h:Ldsw;intermediary field_28418Lnet/minecraft/class_5778;field_28418:Lnet/minecraft/class_265;named NORTH_SHAPELnet/minecraft/block/AbstractLichenBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
FACING_PROPERTIES
- Mappings:
Namespace Name Mixin selector official iLcki;i:Ljava/util/Map;intermediary field_28419Lnet/minecraft/class_5778;field_28419:Ljava/util/Map;named FACING_PROPERTIESLnet/minecraft/block/AbstractLichenBlock;FACING_PROPERTIES:Ljava/util/Map;
-
SHAPES_FOR_DIRECTIONS
- Mappings:
Namespace Name Mixin selector official jLcki;j:Ljava/util/Map;intermediary field_28420Lnet/minecraft/class_5778;field_28420:Ljava/util/Map;named SHAPES_FOR_DIRECTIONSLnet/minecraft/block/AbstractLichenBlock;SHAPES_FOR_DIRECTIONS:Ljava/util/Map;
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector official aLcki;a:[Lgp;intermediary field_28421Lnet/minecraft/class_5778;field_28421:[Lnet/minecraft/class_2350;named DIRECTIONSLnet/minecraft/block/AbstractLichenBlock;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
SHAPES
- Mappings:
Namespace Name Mixin selector official kLcki;k:Lcom/google/common/collect/ImmutableMap;intermediary field_28422Lnet/minecraft/class_5778;field_28422:Lcom/google/common/collect/ImmutableMap;named SHAPESLnet/minecraft/block/AbstractLichenBlock;SHAPES:Lcom/google/common/collect/ImmutableMap;
-
hasAllHorizontalDirections
private final boolean hasAllHorizontalDirections- Mappings:
Namespace Name Mixin selector official lLcki;l:Zintermediary field_28423Lnet/minecraft/class_5778;field_28423:Znamed hasAllHorizontalDirectionsLnet/minecraft/block/AbstractLichenBlock;hasAllHorizontalDirections:Z
-
canMirrorX
private final boolean canMirrorX- Mappings:
Namespace Name Mixin selector official mLcki;m:Zintermediary field_28424Lnet/minecraft/class_5778;field_28424:Znamed canMirrorXLnet/minecraft/block/AbstractLichenBlock;canMirrorX:Z
-
canMirrorZ
private final boolean canMirrorZ- Mappings:
Namespace Name Mixin selector official nLcki;n:Zintermediary field_28425Lnet/minecraft/class_5778;field_28425:Znamed canMirrorZLnet/minecraft/block/AbstractLichenBlock;canMirrorZ:Z
-
-
Constructor Details
-
AbstractLichenBlock
- Mappings:
Namespace Name Mixin selector official <init>Lcrj;<init>(Lcrj$c;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
method_41440
- Mappings:
Namespace Name Mixin selector official hLcki;h(Lcrk;)Ljava/util/Set;intermediary method_41440Lnet/minecraft/class_5778;method_41440(Lnet/minecraft/class_2680;)Ljava/util/Set;named method_41440Lnet/minecraft/block/AbstractLichenBlock;method_41440(Lnet/minecraft/block/BlockState;)Ljava/util/Set;
-
method_41437
- Mappings:
Namespace Name Mixin selector official aLcki;a(B)Ljava/util/Set;intermediary method_41437Lnet/minecraft/class_5778;method_41437(B)Ljava/util/Set;named method_41437Lnet/minecraft/block/AbstractLichenBlock;method_41437(B)Ljava/util/Set;
-
method_41439
- Mappings:
Namespace Name Mixin selector official aLcki;a(Ljava/util/Collection;)Bintermediary method_41439Lnet/minecraft/class_5778;method_41439(Ljava/util/Collection;)Bnamed method_41439Lnet/minecraft/block/AbstractLichenBlock;method_41439(Ljava/util/Collection;)B
-
canHaveDirection
- Mappings:
Namespace Name Mixin selector official aLcki;a(Lgp;)Zintermediary method_33369Lnet/minecraft/class_5778;method_33369(Lnet/minecraft/class_2350;)Znamed canHaveDirectionLnet/minecraft/block/AbstractLichenBlock;canHaveDirection(Lnet/minecraft/util/math/Direction;)Z
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLcfr;a(Lcrl$a;)Vintermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.- Overrides:
getStateForNeighborUpdatein classAbstractBlock- Parameters:
state- the state of this blockdirection- the direction from this block to the neighborneighborState- the state of the updated neighbor blockworld- the worldpos- the position of this blockneighborPos- the position of the neighbor block- Returns:
- the new state of this block
- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Lgp;Lcrk;Lccy;Lgk;Lgk;)Lcrk;intermediary method_9559Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getStateForNeighborUpdateLnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Lccd;Lgk;Ldsi;)Ldsw;intermediary method_9530Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;named getOutlineShapeLnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
-
canPlaceAt
- Overrides:
canPlaceAtin classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Lcda;Lgk;)Zintermediary method_9558Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed canPlaceAtLnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
canReplace
- Overrides:
canReplacein classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Lbyx;)Zintermediary method_9616Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Znamed canReplaceLnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Z
-
getPlacementState
- Overrides:
getPlacementStatein classBlock- Mappings:
Namespace Name Mixin selector official aLcfr;a(Lbyx;)Lcrk;intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;named getPlacementStateLnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
canGrowWithDirection
public boolean canGrowWithDirection(BlockView world, BlockState state, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector official aLcki;a(Lccd;Lcrk;Lgk;Lgp;)Zintermediary method_41438Lnet/minecraft/class_5778;method_41438(Lnet/minecraft/class_1922;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed canGrowWithDirectionLnet/minecraft/block/AbstractLichenBlock;canGrowWithDirection(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
withDirection
@Nullable public @Nullable BlockState withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector official cLcki;c(Lcrk;Lccd;Lgk;Lgp;)Lcrk;intermediary method_33362Lnet/minecraft/class_5778;method_33362(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2680;named withDirectionLnet/minecraft/block/AbstractLichenBlock;withDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockState;
-
rotate
Applies a block rotation to a block state.By default, this returns the provided block state.
- Overrides:
rotatein classAbstractBlock- Returns:
- the rotated block state
- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Lclt;)Lcrk;intermediary method_9598Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;named rotateLnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
mirror
- Overrides:
mirrorin classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcrk;Lckf;)Lcrk;intermediary method_9569Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;named mirrorLnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
mirror
- Mappings:
Namespace Name Mixin selector official aLcki;a(Lcrk;Ljava/util/function/Function;)Lcrk;intermediary method_33367Lnet/minecraft/class_5778;method_33367(Lnet/minecraft/class_2680;Ljava/util/function/Function;)Lnet/minecraft/class_2680;named mirrorLnet/minecraft/block/AbstractLichenBlock;mirror(Lnet/minecraft/block/BlockState;Ljava/util/function/Function;)Lnet/minecraft/block/BlockState;
-
hasDirection
- Mappings:
Namespace Name Mixin selector official aLcki;a(Lcrk;Lgp;)Zintermediary method_33366Lnet/minecraft/class_5778;method_33366(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Znamed hasDirectionLnet/minecraft/block/AbstractLichenBlock;hasDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
canGrowOn
protected static boolean canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector official aLcki;a(Lccd;Lgp;Lgk;Lcrk;)Zintermediary method_33358Lnet/minecraft/class_5778;method_33358(Lnet/minecraft/class_1922;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed canGrowOnLnet/minecraft/block/AbstractLichenBlock;canGrowOn(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
isWaterlogged
private boolean isWaterlogged()- Mappings:
Namespace Name Mixin selector official rLcki;r()Zintermediary method_33378Lnet/minecraft/class_5778;method_33378()Znamed isWaterloggedLnet/minecraft/block/AbstractLichenBlock;isWaterlogged()Z
-
disableDirection
- Mappings:
Namespace Name Mixin selector official aLcki;a(Lcrk;Lcsb;)Lcrk;intermediary method_33365Lnet/minecraft/class_5778;method_33365(Lnet/minecraft/class_2680;Lnet/minecraft/class_2746;)Lnet/minecraft/class_2680;named disableDirectionLnet/minecraft/block/AbstractLichenBlock;disableDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/BooleanProperty;)Lnet/minecraft/block/BlockState;
-
getProperty
- Mappings:
Namespace Name Mixin selector official bLcki;b(Lgp;)Lcsb;intermediary method_33374Lnet/minecraft/class_5778;method_33374(Lnet/minecraft/class_2350;)Lnet/minecraft/class_2746;named getPropertyLnet/minecraft/block/AbstractLichenBlock;getProperty(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/state/property/BooleanProperty;
-
withAllDirections
- Mappings:
Namespace Name Mixin selector official aLcki;a(Lcrl;)Lcrk;intermediary method_33368Lnet/minecraft/class_5778;method_33368(Lnet/minecraft/class_2689;)Lnet/minecraft/class_2680;named withAllDirectionsLnet/minecraft/block/AbstractLichenBlock;withAllDirections(Lnet/minecraft/state/StateManager;)Lnet/minecraft/block/BlockState;
-
getShapeForState
- Mappings:
Namespace Name Mixin selector official oLcki;o(Lcrk;)Ldsw;intermediary method_33380Lnet/minecraft/class_5778;method_33380(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;named getShapeForStateLnet/minecraft/block/AbstractLichenBlock;getShapeForState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;
-
hasAnyDirection
- Mappings:
Namespace Name Mixin selector official nLcki;n(Lcrk;)Zintermediary method_33381Lnet/minecraft/class_5778;method_33381(Lnet/minecraft/class_2680;)Znamed hasAnyDirectionLnet/minecraft/block/AbstractLichenBlock;hasAnyDirection(Lnet/minecraft/block/BlockState;)Z
-
isNotFullBlock
- Mappings:
Namespace Name Mixin selector official pLcki;p(Lcrk;)Zintermediary method_33382Lnet/minecraft/class_5778;method_33382(Lnet/minecraft/class_2680;)Znamed isNotFullBlockLnet/minecraft/block/AbstractLichenBlock;isNotFullBlock(Lnet/minecraft/block/BlockState;)Z
-
method_41432
- Mappings:
Namespace Name Mixin selector official dLcki;d()Lckj;intermediary method_41432Lnet/minecraft/class_5778;method_41432()Lnet/minecraft/class_7118;named method_41432Lnet/minecraft/block/AbstractLichenBlock;method_41432()Lnet/minecraft/class_7118;
-