net.minecraft.world.level.block

public class AnvilBlock

extends FallingBlock

All mapped superinterfaces:

FeatureElement, ItemLike, Fallable

din
net.minecraft.world.level.block.AnvilBlock
net.minecraft.class_2199
net.minecraft.block.AnvilBlock
net.minecraft.world.level.block.BlockAnvil

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<AnvilBlock>
a
CODEC
field_46258
CODEC
public static final EnumProperty<Direction>
b
FACING
field_9883
FACING
private static final VoxelShape
c
BASE
field_9882
BASE_SHAPE
private static final VoxelShape
d
X_LEG1
field_9885
X_STEP_SHAPE
private static final VoxelShape
e
X_LEG2
field_9888
X_STEM_SHAPE
private static final VoxelShape
f
X_TOP
field_9884
X_FACE_SHAPE
private static final VoxelShape
g
Z_LEG1
field_9891
Z_STEP_SHAPE
private static final VoxelShape
h
Z_LEG2
field_9889
Z_STEM_SHAPE
private static final VoxelShape
i
Z_TOP
field_9886
Z_FACE_SHAPE
private static final VoxelShape
j
X_AXIS_AABB
field_9887
X_AXIS_SHAPE
private static final VoxelShape
k
Z_AXIS_AABB
field_9892
Z_AXIS_SHAPE
private static final Component
l
CONTAINER_TITLE
field_17349
TITLE
private static final float
m
FALL_DAMAGE_PER_DISTANCE
field_30993
FALLING_BLOCK_ENTITY_DAMAGE_MULTIPLIER
private static final int
n
FALL_DAMAGE_MAX
field_30994
FALLING_BLOCK_ENTITY_MAX_DAMAGE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<AnvilBlock>
a()
codec()
method_53969()
getCodec()
public BlockState
a(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected InteractionResult
a(dwy arg0, dgj arg1, ji arg2, coy arg3, fax arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
protected MenuProvider
b(dwy arg0, dgj arg1, ji arg2)
getMenuProvider(BlockState arg0, Level arg1, BlockPos arg2)
method_17454(class_2680 arg0, class_1937 arg1, class_2338 arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected void
a(clc arg0)
falling(FallingBlockEntity arg0)
method_10132(class_1540 arg0)
configureFallingBlockEntity(FallingBlockEntity arg0)
public void
a(dgj arg0, ji arg1, dwy arg2, dwy arg3, clc arg4)
onLand(Level arg0, BlockPos arg1, BlockState arg2, BlockState arg3, FallingBlockEntity arg4)
method_10127(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2680 arg3, class_1540 arg4)
onLanding(World arg0, BlockPos arg1, BlockState arg2, BlockState arg3, FallingBlockEntity arg4)
public void
a(dgj arg0, ji arg1, clc arg2)
onBrokenAfterFall(Level arg0, BlockPos arg1, FallingBlockEntity arg2)
method_10129(class_1937 arg0, class_2338 arg1, class_1540 arg2)
onDestroyedOnLanding(World arg0, BlockPos arg1, FallingBlockEntity arg2)
public DamageSource
a(bum arg0)
getFallDamageSource(Entity arg0)
method_32898(class_1297 arg0)
getDamageSource(Entity arg0)
public static BlockState
e(dwy arg0)
damage(BlockState arg0)
method_9346(class_2680 arg0)
getLandingState(BlockState fallingState)
protected BlockState
a(dwy arg0, dqf arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected boolean
a(dwy arg0, etp arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
public int
b(dwy arg0, dfo arg1, ji arg2)
getDustColor(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_10130(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getColor(BlockState arg0, BlockView arg1, BlockPos arg2)