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
public class AbstractLichenBlock extends Block
- Mappings:
Namespace Name official cbyintermediary 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
Fields Modifier and Type Field Description private booleancanMirrorXprivate booleancanMirrorZprivate static Direction[]DIRECTIONSprivate static VoxelShapeDOWN_SHAPEprivate static VoxelShapeEAST_SHAPEprivate static Map<Direction,BooleanProperty>FACING_PROPERTIESprivate booleanhasAllHorizontalDirectionsprivate static VoxelShapeNORTH_SHAPEprivate ImmutableMap<BlockState,VoxelShape>SHAPESprivate static Map<Direction,VoxelShape>SHAPES_FOR_DIRECTIONSprivate static VoxelShapeSOUTH_SHAPEprivate static VoxelShapeUP_SHAPEprivate static VoxelShapeWEST_SHAPEFields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier -
Constructor Summary
Constructors Constructor Description AbstractLichenBlock(AbstractBlock.Settings settings) -
Method Summary
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, 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, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, scheduledTick
-
Field Details
-
UP_SHAPE
- Mappings:
Namespace Name Mixin selector official aLcby;a:Ldlg;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 bLcby;b:Ldlg;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 cLcby;c:Ldlg;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 dLcby;d:Ldlg;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 eLcby;e:Ldlg;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 fLcby;f:Ldlg;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 gLcby;g: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 hLcby;h: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 iLcby;i:[Lgc;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 jLcby;j: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 kLcby;k: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 oLcby;o: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 pLcby;p: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>Lcin;<init>(Lcin$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
-
canHaveDirection
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lgc;)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 aLbxp;a(Lcip$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 aLcin;a(Lcio;Lgc;Lcio;Lbur;Lfx;Lfx;)Lcio;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 aLcin;a(Lcio;Lbtu;Lfx;Ldks;)Ldlg;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 aLcin;a(Lcio;Lbut;Lfx;)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 aLcin;a(Lcio;Lbqq;)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 aLbxp;a(Lbqq;)Lcio;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;
-
addDirection
@Nullable public @Nullable BlockState addDirection(BlockState state, WorldAccess world, BlockPos pos, Direction direction)- Mappings:
Namespace Name Mixin selector official aLcby;a(Lcio;Lbur;Lfx;Lgc;)Lcio;intermediary method_33362Lnet/minecraft/class_5778;method_33362(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2680;named addDirectionLnet/minecraft/block/AbstractLichenBlock;addDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;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 aLcin;a(Lcio;Lcdh;)Lcio;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 aLcin;a(Lcio;Lcbw;)Lcio;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 aLcby;a(Lcio;Ljava/util/function/Function;)Lcio;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;
-
canSpreadRandomly
- Mappings:
Namespace Name Mixin selector official cLcby;c(Lcio;Labf;Lfx;Ljava/util/Random;)Zintermediary method_33375Lnet/minecraft/class_5778;method_33375(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)Znamed canSpreadRandomlyLnet/minecraft/block/AbstractLichenBlock;canSpreadRandomly(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
-
canSpreadRandomly
public boolean canSpreadRandomly(BlockState state, WorldAccess world, BlockPos pos, Direction from, Random random)- Mappings:
Namespace Name Mixin selector official aLcby;a(Lcio;Lbur;Lfx;Lgc;Ljava/util/Random;)Zintermediary method_33364Lnet/minecraft/class_5778;method_33364(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Ljava/util/Random;)Znamed canSpreadRandomlyLnet/minecraft/block/AbstractLichenBlock;canSpreadRandomly(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Ljava/util/Random;)Z
-
canSpreadTo
public boolean canSpreadTo(BlockState state, WorldAccess world, BlockPos pos, Direction from, Direction to)- Mappings:
Namespace Name Mixin selector official aLcby;a(Lcio;Lbur;Lfx;Lgc;Lgc;)Zintermediary method_33363Lnet/minecraft/class_5778;method_33363(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)Znamed canSpreadToLnet/minecraft/block/AbstractLichenBlock;canSpreadTo(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)Z
-
addDirection
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lbur;Lfx;Lgc;)Zintermediary method_33359Lnet/minecraft/class_5778;method_33359(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed addDirectionLnet/minecraft/block/AbstractLichenBlock;addDirection(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
canGrowIn
- Mappings:
Namespace Name Mixin selector official hLcby;h(Lcio;)Zintermediary method_33379Lnet/minecraft/class_5778;method_33379(Lnet/minecraft/class_2680;)Znamed canGrowInLnet/minecraft/block/AbstractLichenBlock;canGrowIn(Lnet/minecraft/block/BlockState;)Z
-
hasDirection
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lcio;Lgc;)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
private static boolean canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state)- Mappings:
Namespace Name Mixin selector official aLcby;a(Lbtu;Lgc;Lfx;Lcio;)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 eLcby;e()Zintermediary method_33378Lnet/minecraft/class_5778;method_33378()Znamed isWaterloggedLnet/minecraft/block/AbstractLichenBlock;isWaterlogged()Z
-
disableDirection
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lcio;Lcjf;)Lcio;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 bLcby;b(Lgc;)Lcjf;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;
-
withNoDirections
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lcip;)Lcio;intermediary method_33368Lnet/minecraft/class_5778;method_33368(Lnet/minecraft/class_2689;)Lnet/minecraft/class_2680;named withNoDirectionsLnet/minecraft/block/AbstractLichenBlock;withNoDirections(Lnet/minecraft/state/StateManager;)Lnet/minecraft/block/BlockState;
-
getShapeForState
- Mappings:
Namespace Name Mixin selector official mLcby;m(Lcio;)Ldlg;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 nLcby;n(Lcio;)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 oLcby;o(Lcio;)Zintermediary method_33382Lnet/minecraft/class_5778;method_33382(Lnet/minecraft/class_2680;)Znamed isNotFullBlockLnet/minecraft/block/AbstractLichenBlock;isNotFullBlock(Lnet/minecraft/block/BlockState;)Z
-