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 cby
intermediary net/minecraft/class_5778
named net/minecraft/block/AbstractLichenBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested 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 boolean
canMirrorX
private boolean
canMirrorZ
private static Direction[]
DIRECTIONS
private static VoxelShape
DOWN_SHAPE
private static VoxelShape
EAST_SHAPE
private static Map<Direction,BooleanProperty>
FACING_PROPERTIES
private boolean
hasAllHorizontalDirections
private static VoxelShape
NORTH_SHAPE
private ImmutableMap<BlockState,VoxelShape>
SHAPES
private static Map<Direction,VoxelShape>
SHAPES_FOR_DIRECTIONS
private static VoxelShape
SOUTH_SHAPE
private static VoxelShape
UP_SHAPE
private static VoxelShape
WEST_SHAPE
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields 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, toString
Methods 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 a
Lcby;a:Ldlg;
intermediary field_28413
Lnet/minecraft/class_5778;field_28413:Lnet/minecraft/class_265;
named UP_SHAPE
Lnet/minecraft/block/AbstractLichenBlock;UP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
DOWN_SHAPE
- Mappings:
Namespace Name Mixin selector official b
Lcby;b:Ldlg;
intermediary field_28414
Lnet/minecraft/class_5778;field_28414:Lnet/minecraft/class_265;
named DOWN_SHAPE
Lnet/minecraft/block/AbstractLichenBlock;DOWN_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_SHAPE
- Mappings:
Namespace Name Mixin selector official c
Lcby;c:Ldlg;
intermediary field_28415
Lnet/minecraft/class_5778;field_28415:Lnet/minecraft/class_265;
named EAST_SHAPE
Lnet/minecraft/block/AbstractLichenBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_SHAPE
- Mappings:
Namespace Name Mixin selector official d
Lcby;d:Ldlg;
intermediary field_28416
Lnet/minecraft/class_5778;field_28416:Lnet/minecraft/class_265;
named WEST_SHAPE
Lnet/minecraft/block/AbstractLichenBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector official e
Lcby;e:Ldlg;
intermediary field_28417
Lnet/minecraft/class_5778;field_28417:Lnet/minecraft/class_265;
named SOUTH_SHAPE
Lnet/minecraft/block/AbstractLichenBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector official f
Lcby;f:Ldlg;
intermediary field_28418
Lnet/minecraft/class_5778;field_28418:Lnet/minecraft/class_265;
named NORTH_SHAPE
Lnet/minecraft/block/AbstractLichenBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
FACING_PROPERTIES
- Mappings:
Namespace Name Mixin selector official g
Lcby;g:Ljava/util/Map;
intermediary field_28419
Lnet/minecraft/class_5778;field_28419:Ljava/util/Map;
named FACING_PROPERTIES
Lnet/minecraft/block/AbstractLichenBlock;FACING_PROPERTIES:Ljava/util/Map;
-
SHAPES_FOR_DIRECTIONS
- Mappings:
Namespace Name Mixin selector official h
Lcby;h:Ljava/util/Map;
intermediary field_28420
Lnet/minecraft/class_5778;field_28420:Ljava/util/Map;
named SHAPES_FOR_DIRECTIONS
Lnet/minecraft/block/AbstractLichenBlock;SHAPES_FOR_DIRECTIONS:Ljava/util/Map;
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector official i
Lcby;i:[Lgc;
intermediary field_28421
Lnet/minecraft/class_5778;field_28421:[Lnet/minecraft/class_2350;
named DIRECTIONS
Lnet/minecraft/block/AbstractLichenBlock;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
SHAPES
- Mappings:
Namespace Name Mixin selector official j
Lcby;j:Lcom/google/common/collect/ImmutableMap;
intermediary field_28422
Lnet/minecraft/class_5778;field_28422:Lcom/google/common/collect/ImmutableMap;
named SHAPES
Lnet/minecraft/block/AbstractLichenBlock;SHAPES:Lcom/google/common/collect/ImmutableMap;
-
hasAllHorizontalDirections
private final boolean hasAllHorizontalDirections- Mappings:
Namespace Name Mixin selector official k
Lcby;k:Z
intermediary field_28423
Lnet/minecraft/class_5778;field_28423:Z
named hasAllHorizontalDirections
Lnet/minecraft/block/AbstractLichenBlock;hasAllHorizontalDirections:Z
-
canMirrorX
private final boolean canMirrorX- Mappings:
Namespace Name Mixin selector official o
Lcby;o:Z
intermediary field_28424
Lnet/minecraft/class_5778;field_28424:Z
named canMirrorX
Lnet/minecraft/block/AbstractLichenBlock;canMirrorX:Z
-
canMirrorZ
private final boolean canMirrorZ- Mappings:
Namespace Name Mixin selector official p
Lcby;p:Z
intermediary field_28425
Lnet/minecraft/class_5778;field_28425:Z
named canMirrorZ
Lnet/minecraft/block/AbstractLichenBlock;canMirrorZ:Z
-
-
Constructor Details
-
AbstractLichenBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lcin;<init>(Lcin$c;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
canHaveDirection
- Mappings:
Namespace Name Mixin selector official a
Lcby;a(Lgc;)Z
intermediary method_33369
Lnet/minecraft/class_5778;method_33369(Lnet/minecraft/class_2350;)Z
named canHaveDirection
Lnet/minecraft/block/AbstractLichenBlock;canHaveDirection(Lnet/minecraft/util/math/Direction;)Z
-
appendProperties
- Overrides:
appendProperties
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbxp;a(Lcip$a;)V
intermediary method_9515
Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
named appendProperties
Lnet/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:
getStateForNeighborUpdate
in 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 a
Lcin;a(Lcio;Lgc;Lcio;Lbur;Lfx;Lfx;)Lcio;
intermediary method_9559
Lnet/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 getStateForNeighborUpdate
Lnet/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:
getOutlineShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcin;a(Lcio;Lbtu;Lfx;Ldks;)Ldlg;
intermediary method_9530
Lnet/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 getOutlineShape
Lnet/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:
canPlaceAt
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcin;a(Lcio;Lbut;Lfx;)Z
intermediary method_9558
Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named canPlaceAt
Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
canReplace
- Overrides:
canReplace
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcin;a(Lcio;Lbqq;)Z
intermediary method_9616
Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Z
named canReplace
Lnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Z
-
getPlacementState
- Overrides:
getPlacementState
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbxp;a(Lbqq;)Lcio;
intermediary method_9605
Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
named getPlacementState
Lnet/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 a
Lcby;a(Lcio;Lbur;Lfx;Lgc;)Lcio;
intermediary method_33362
Lnet/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 addDirection
Lnet/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:
rotate
in classAbstractBlock
- Returns:
- the rotated block state
- Mappings:
Namespace Name Mixin selector official a
Lcin;a(Lcio;Lcdh;)Lcio;
intermediary method_9598
Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;
named rotate
Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
mirror
- Overrides:
mirror
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcin;a(Lcio;Lcbw;)Lcio;
intermediary method_9569
Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;
named mirror
Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
mirror
- Mappings:
Namespace Name Mixin selector official a
Lcby;a(Lcio;Ljava/util/function/Function;)Lcio;
intermediary method_33367
Lnet/minecraft/class_5778;method_33367(Lnet/minecraft/class_2680;Ljava/util/function/Function;)Lnet/minecraft/class_2680;
named mirror
Lnet/minecraft/block/AbstractLichenBlock;mirror(Lnet/minecraft/block/BlockState;Ljava/util/function/Function;)Lnet/minecraft/block/BlockState;
-
canSpreadRandomly
- Mappings:
Namespace Name Mixin selector official c
Lcby;c(Lcio;Labf;Lfx;Ljava/util/Random;)Z
intermediary method_33375
Lnet/minecraft/class_5778;method_33375(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
named canSpreadRandomly
Lnet/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 a
Lcby;a(Lcio;Lbur;Lfx;Lgc;Ljava/util/Random;)Z
intermediary method_33364
Lnet/minecraft/class_5778;method_33364(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Ljava/util/Random;)Z
named canSpreadRandomly
Lnet/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 a
Lcby;a(Lcio;Lbur;Lfx;Lgc;Lgc;)Z
intermediary method_33363
Lnet/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;)Z
named canSpreadTo
Lnet/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 a
Lcby;a(Lbur;Lfx;Lgc;)Z
intermediary method_33359
Lnet/minecraft/class_5778;method_33359(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
named addDirection
Lnet/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 h
Lcby;h(Lcio;)Z
intermediary method_33379
Lnet/minecraft/class_5778;method_33379(Lnet/minecraft/class_2680;)Z
named canGrowIn
Lnet/minecraft/block/AbstractLichenBlock;canGrowIn(Lnet/minecraft/block/BlockState;)Z
-
hasDirection
- Mappings:
Namespace Name Mixin selector official a
Lcby;a(Lcio;Lgc;)Z
intermediary method_33366
Lnet/minecraft/class_5778;method_33366(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
named hasDirection
Lnet/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 a
Lcby;a(Lbtu;Lgc;Lfx;Lcio;)Z
intermediary method_33358
Lnet/minecraft/class_5778;method_33358(Lnet/minecraft/class_1922;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
named canGrowOn
Lnet/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 e
Lcby;e()Z
intermediary method_33378
Lnet/minecraft/class_5778;method_33378()Z
named isWaterlogged
Lnet/minecraft/block/AbstractLichenBlock;isWaterlogged()Z
-
disableDirection
- Mappings:
Namespace Name Mixin selector official a
Lcby;a(Lcio;Lcjf;)Lcio;
intermediary method_33365
Lnet/minecraft/class_5778;method_33365(Lnet/minecraft/class_2680;Lnet/minecraft/class_2746;)Lnet/minecraft/class_2680;
named disableDirection
Lnet/minecraft/block/AbstractLichenBlock;disableDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/BooleanProperty;)Lnet/minecraft/block/BlockState;
-
getProperty
- Mappings:
Namespace Name Mixin selector official b
Lcby;b(Lgc;)Lcjf;
intermediary method_33374
Lnet/minecraft/class_5778;method_33374(Lnet/minecraft/class_2350;)Lnet/minecraft/class_2746;
named getProperty
Lnet/minecraft/block/AbstractLichenBlock;getProperty(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/state/property/BooleanProperty;
-
withNoDirections
- Mappings:
Namespace Name Mixin selector official a
Lcby;a(Lcip;)Lcio;
intermediary method_33368
Lnet/minecraft/class_5778;method_33368(Lnet/minecraft/class_2689;)Lnet/minecraft/class_2680;
named withNoDirections
Lnet/minecraft/block/AbstractLichenBlock;withNoDirections(Lnet/minecraft/state/StateManager;)Lnet/minecraft/block/BlockState;
-
getShapeForState
- Mappings:
Namespace Name Mixin selector official m
Lcby;m(Lcio;)Ldlg;
intermediary method_33380
Lnet/minecraft/class_5778;method_33380(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
named getShapeForState
Lnet/minecraft/block/AbstractLichenBlock;getShapeForState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;
-
hasAnyDirection
- Mappings:
Namespace Name Mixin selector official n
Lcby;n(Lcio;)Z
intermediary method_33381
Lnet/minecraft/class_5778;method_33381(Lnet/minecraft/class_2680;)Z
named hasAnyDirection
Lnet/minecraft/block/AbstractLichenBlock;hasAnyDirection(Lnet/minecraft/block/BlockState;)Z
-
isNotFullBlock
- Mappings:
Namespace Name Mixin selector official o
Lcby;o(Lcio;)Z
intermediary method_33382
Lnet/minecraft/class_5778;method_33382(Lnet/minecraft/class_2680;)Z
named isNotFullBlock
Lnet/minecraft/block/AbstractLichenBlock;isNotFullBlock(Lnet/minecraft/block/BlockState;)Z
-