net.minecraft.world.level.block

public class AnvilBlock

extends FallingBlock

All mapped superinterfaces:

FeatureElement, ItemLike, Fallable

djm
net.minecraft.world.level.block.AnvilBlock
net.minecraft.class_2199
net.minecraft.unmapped.C_tglopszh
net.minecraft.block.AnvilBlock
net.minecraft.block.AnvilBlock
net.minecraft.src.C_1679_
net.minecraft.world.level.block.BlockAnvil

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<AnvilBlock>
a
CODEC
field_46258
f_hyfxvkup
CODEC
CODEC
f_302321_
public static final EnumProperty<Direction>
b
FACING
field_9883
f_bnwjvawg
FACING
FACING
f_48764_
private static final VoxelShape
c
BASE
field_9882
f_snbrvvwy
BASE_SHAPE
BASE_SHAPE
f_48765_
private static final VoxelShape
d
X_LEG1
field_9885
f_jhomfdxi
X_STEP_SHAPE
X_STEP_SHAPE
f_48766_
private static final VoxelShape
e
X_LEG2
field_9888
f_jsbhycuu
X_STEM_SHAPE
X_STEM_SHAPE
f_48767_
private static final VoxelShape
f
X_TOP
field_9884
f_sxfxtflk
X_FACE_SHAPE
X_FACE_SHAPE
f_48768_
private static final VoxelShape
g
Z_LEG1
field_9891
f_oximkwef
Z_STEP_SHAPE
Z_STEP_SHAPE
f_48769_
private static final VoxelShape
h
Z_LEG2
field_9889
f_gmmbgpke
Z_STEM_SHAPE
Z_STEM_SHAPE
f_48770_
private static final VoxelShape
i
Z_TOP
field_9886
f_ngztipel
Z_FACE_SHAPE
Z_FACE_SHAPE
f_48771_
private static final VoxelShape
j
X_AXIS_AABB
field_9887
f_dlmmjdvu
X_AXIS_SHAPE
X_AXIS_SHAPE
f_48772_
private static final VoxelShape
k
Z_AXIS_AABB
field_9892
f_isbqlukl
Z_AXIS_SHAPE
Z_AXIS_SHAPE
f_48773_
private static final Component
l
CONTAINER_TITLE
field_17349
f_jqyhpuhm
TITLE
TITLE
f_48774_
private static final float
m
FALL_DAMAGE_PER_DISTANCE
field_30993
f_wzrszqwm
FALLING_BLOCK_ENTITY_DAMAGE_MULTIPLIER
FALLING_BLOCK_ENTITY_DAMAGE_MULTIPLIER
f_152050_
private static final int
n
FALL_DAMAGE_MAX
field_30994
f_nklsmneh
FALLING_BLOCK_ENTITY_MAX_DAMAGE
FALLING_BLOCK_ENTITY_MAX_DAMAGE
f_152051_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<AnvilBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected InteractionResult
a(dxv arg0, dhi arg1, jh arg2, cpx arg3, fbu 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)
m_pguoxmgn(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_jdakttms arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_48805_, C_1596_ p_48806_, C_4675_ p_48807_, C_1141_ p_48809_, C_3041_ arg4)
protected MenuProvider
b(dxv arg0, dhi arg1, jh arg2)
getMenuProvider(BlockState arg0, Level arg1, BlockPos arg2)
method_17454(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_gzvkqagj(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
createScreenHandlerFactory(BlockState arg0, World arg1, BlockPos arg2)
m_7246_(C_2064_ p_48822_, C_1596_ p_48823_, C_4675_ arg2)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_48817_, C_1559_ p_48818_, C_4675_ p_48819_, C_3051_ arg3)
protected void
a(cma arg0)
falling(FallingBlockEntity arg0)
method_10132(class_1540 arg0)
m_qnclsuwy(C_uvxlswjj arg0)
configureFallingBlockEntity(FallingBlockEntity arg0)
configureFallingBlockEntity(FallingBlockEntity arg0)
m_6788_(C_975_ arg0)
public void
a(dhi arg0, jh arg1, dxv arg2, dxv arg3, cma 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)
m_optjpucn(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_txtbiemp arg3, C_uvxlswjj arg4)
onLanding(World arg0, BlockPos arg1, BlockState arg2, BlockState arg3, FallingBlockEntity arg4)
onLanding(World arg0, BlockPos arg1, BlockState arg2, BlockState arg3, FallingBlockEntity arg4)
m_48792_(C_1596_ p_48794_, C_4675_ p_48795_, C_2064_ p_48796_, C_2064_ p_48797_, C_975_ arg4)
public void
a(dhi arg0, jh arg1, cma arg2)
onBrokenAfterFall(Level arg0, BlockPos arg1, FallingBlockEntity arg2)
method_10129(class_1937 arg0, class_2338 arg1, class_1540 arg2)
m_xkbovboy(C_cdctfzbn arg0, C_hynzadkk arg1, C_uvxlswjj arg2)
onDestroyedOnLanding(World arg0, BlockPos arg1, FallingBlockEntity arg2)
onDestroyedOnLanding(World arg0, BlockPos arg1, FallingBlockEntity arg2)
m_142525_(C_1596_ p_152054_, C_4675_ p_152055_, C_975_ arg2)
public DamageSource
a(bvk arg0)
getFallDamageSource(Entity arg0)
method_32898(class_1297 arg0)
m_mntapcoq(C_astfners arg0)
getDamageSource(Entity arg0)
getDamageSource(Entity arg0)
m_252932_(C_507_ arg0)
public static BlockState
e(dxv arg0)
damage(BlockState arg0)
method_9346(class_2680 arg0)
m_rvwwiljw(C_txtbiemp arg0)
getLandingState(BlockState fallingState)
getLandingState(BlockState fallingState)
m_48824_(C_2064_ p_48825_)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_48812_, C_1886_ arg1)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
m_rwctfady(C_txtbiemp arg0, C_kjwlgpfr arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_48802_, C_2754_ arg1)
public int
b(dxv arg0, dgn arg1, jh arg2)
getDustColor(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_10130(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_dpxrfjcv(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
getColor(BlockState arg0, BlockView arg1, BlockPos arg2)
getColor(BlockState arg0, BlockView arg1, BlockPos arg2)
m_6248_(C_2064_ p_48828_, C_1559_ p_48829_, C_4675_ arg2)