net.minecraft.world.level.block

public class MultifaceBlock

extends Block

All mapped superinterfaces:

ItemLike

cdz
net.minecraft.world.level.block.MultifaceBlock
net.minecraft.class_5778
net.minecraft.unmapped.C_qpwigkki
net.minecraft.block.AbstractLichenBlock
net.minecraft.src.C_141219_
net.minecraft.world.level.block.MultifaceBlock

Field summary

Modifier and TypeField
private static final float
b
AABB_OFFSET
field_31194
f_muhplwks
field_31194
f_153807_
private static final VoxelShape
c
UP_AABB
field_28413
f_kbsqntin
UP_SHAPE
f_153808_
private static final VoxelShape
d
DOWN_AABB
field_28414
f_qnyoeezu
DOWN_SHAPE
f_153809_
private static final VoxelShape
e
WEST_AABB
field_28415
f_nukaxvrr
EAST_SHAPE
f_153810_
private static final VoxelShape
f
EAST_AABB
field_28416
f_birgfpxa
WEST_SHAPE
f_153811_
private static final VoxelShape
g
NORTH_AABB
field_28417
f_iztjykjs
SOUTH_SHAPE
f_153812_
private static final VoxelShape
h
SOUTH_AABB
field_28418
f_kedefhvy
NORTH_SHAPE
f_153813_
private static final Map<Direction, BooleanProperty>
i
PROPERTY_BY_DIRECTION
field_28419
f_uccvsbbr
FACING_PROPERTIES
f_153814_
private static final Map<Direction, VoxelShape>
j
SHAPE_BY_DIRECTION
field_28420
f_pyovgvxd
SHAPES_FOR_DIRECTIONS
f_153815_
protected static final Direction[]
a
DIRECTIONS
field_28421
f_edhhkowj
DIRECTIONS
f_153806_
private final com.google.common.collect.ImmutableMap<BlockState, VoxelShape>
k
shapesCache
field_28422
f_sdggydaz
SHAPES
f_153816_
private final boolean
l
canRotate
field_28423
f_xphtjnjg
hasAllHorizontalDirections
f_153817_
private final boolean
m
canMirrorX
field_28424
f_znvlgwkn
canMirrorX
f_153818_
private final boolean
n
canMirrorZ
field_28425
f_esqfyeak
canMirrorZ
f_153819_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected boolean
a(gl arg0)
isFaceSupported(Direction arg0)
method_33369(class_2350 arg0)
m_jaqpamhc(C_xpuuihxf arg0)
canHaveDirection(Direction direction)
m_153920_(C_4687_ arg0)
protected void
a(ckt$a<bzo, cks> 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)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public BlockState
a(cks arg0, gl arg1, cks arg2, bwq arg3, gg arg4, gg arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
m_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_153905_, C_4687_ p_153906_, C_2064_ p_153907_, C_1598_ p_153908_, C_4675_ p_153909_, C_4675_ arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public VoxelShape
a(cks arg0, bvt arg1, gg arg2, dnf 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)
m_5940_(C_2064_ p_153852_, C_1559_ p_153853_, C_4675_ p_153854_, C_3051_ arg3)
public boolean
a(cks arg0, bws arg1, gg arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
m_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_153889_, C_1599_ p_153890_, C_4675_ arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public boolean
a(cks arg0, bsp arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
m_qzmkwuwe(C_txtbiemp arg0, C_aiootljq arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
m_6864_(C_2064_ p_153849_, C_1445_ arg1)
public BlockState
a(bsp arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
public BlockState
c(cks arg0, bvt arg1, gg arg2, gl arg3)
getStateForPlacement(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_33362(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_cqjtvkie(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction)
m_153940_(C_2064_ p_153942_, C_1559_ p_153943_, C_4675_ p_153944_, C_4687_ arg3)
public BlockState
a(cks arg0, cfk 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)
m_6843_(C_2064_ p_153896_, C_1886_ arg1)
public BlockState
a(cks arg0, cdx arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_153893_, C_1838_ arg1)
private BlockState
a(cks arg0, Function<gl, gl> arg1)
mapDirections(BlockState arg0, Function<Direction, Direction> arg1)
method_33367(class_2680 arg0, Function<class_2350, class_2350> arg1)
m_wcjiwopm(C_txtbiemp arg0, Function<C_xpuuihxf, C_xpuuihxf> arg1)
mirror(BlockState state, Function<Direction, Direction> mirror)
m_153910_(C_2064_ p_153912_, Function<C_4687_, C_4687_> arg1)
public boolean
c(cks arg0, abr arg1, gg arg2, Random arg3)
spreadFromRandomFaceTowardRandomDirection(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_33375(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
m_tgyspppr(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, Random arg3)
trySpreadRandomly(BlockState state, ServerWorld world, BlockPos pos, Random random)
m_153935_(C_2064_ p_153937_, C_12_ p_153938_, C_4675_ p_153939_, Random arg3)
public boolean
a(cks arg0, bwq arg1, gg arg2, gl arg3, Random arg4, boolean arg5)
spreadFromFaceTowardRandomDirection(BlockState arg0, LevelAccessor arg1, BlockPos arg2, Direction arg3, Random arg4, boolean arg5)
method_33364(class_2680 arg0, class_1936 arg1, class_2338 arg2, class_2350 arg3, Random arg4, boolean arg5)
m_ekzivfiz(C_txtbiemp arg0, C_vdvbsyle arg1, C_hynzadkk arg2, C_xpuuihxf arg3, Random arg4, boolean arg5)
trySpreadRandomly(BlockState state, WorldAccess world, BlockPos pos, Direction from, Random random, boolean postProcess)
m_153873_(C_2064_ p_153875_, C_1598_ p_153876_, C_4675_ p_153877_, C_4687_ p_153878_, Random p_153879_, boolean arg5)
public boolean
a(cks arg0, bwq arg1, gg arg2, gl arg3, gl arg4, boolean arg5)
spreadFromFaceTowardDirection(BlockState arg0, LevelAccessor arg1, BlockPos arg2, Direction arg3, Direction arg4, boolean arg5)
method_33363(class_2680 arg0, class_1936 arg1, class_2338 arg2, class_2350 arg3, class_2350 arg4, boolean arg5)
m_fzbqoeww(C_txtbiemp arg0, C_vdvbsyle arg1, C_hynzadkk arg2, C_xpuuihxf arg3, C_xpuuihxf arg4, boolean arg5)
trySpreadTo(BlockState state, WorldAccess world, BlockPos pos, Direction from, Direction to, boolean postProcess)
m_153866_(C_2064_ p_153868_, C_1598_ p_153869_, C_4675_ p_153870_, C_4687_ p_153871_, C_4687_ p_153872_, boolean arg5)
protected boolean
d(cks arg0, bvt arg1, gg arg2, gl arg3)
canSpread(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_34731(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_hxeehake(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
canSpread(BlockState state, BlockView world, BlockPos pos, Direction from)
m_153948_(C_2064_ p_153950_, C_1559_ p_153951_, C_4675_ p_153952_, C_4687_ arg3)
private Optional<com.mojang.datafixers.util.Pair<BlockPos, Direction>>
a(cks arg0, bvt arg1, gg arg2, gl arg3, gl arg4)
getSpreadFromFaceTowardDirection(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3, Direction arg4)
method_34729(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3, class_2350 arg4)
m_qsucfwjn(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3, C_xpuuihxf arg4)
getSpreadLocation(BlockState state, BlockView world, BlockPos pos, Direction from, Direction to)
m_153855_(C_2064_ p_153857_, C_1559_ p_153858_, C_4675_ p_153859_, C_4687_ p_153860_, C_4687_ arg4)
private boolean
a(bvt arg0, gg arg1, gl arg2)
canSpreadToFace(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_34728(class_1922 arg0, class_2338 arg1, class_2350 arg2)
m_pjqdjbmh(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
canSpreadTo(BlockView world, BlockPos pos, Direction direction)
m_153825_(C_1559_ p_153827_, C_4675_ p_153828_, C_4687_ arg2)
private boolean
a(bwq arg0, gg arg1, gl arg2, boolean arg3)
spreadToFace(LevelAccessor arg0, BlockPos arg1, Direction arg2, boolean arg3)
method_33359(class_1936 arg0, class_2338 arg1, class_2350 arg2, boolean arg3)
m_pzsnihvn(C_vdvbsyle arg0, C_hynzadkk arg1, C_xpuuihxf arg2, boolean arg3)
addDirection(WorldAccess world, BlockPos pos, Direction direction, boolean postProcess)
m_153834_(C_1598_ p_153836_, C_4675_ p_153837_, C_4687_ p_153838_, boolean arg3)
private boolean
n(cks arg0)
canSpreadInto(BlockState arg0)
method_33379(class_2680 arg0)
m_rccqwgcm(C_txtbiemp arg0)
canGrowIn(BlockState state)
m_153956_(C_2064_ arg0)
private static boolean
a(cks arg0, gl arg1)
hasFace(BlockState arg0, Direction arg1)
method_33366(class_2680 arg0, class_2350 arg1)
m_hzdoqmsn(C_txtbiemp arg0, C_xpuuihxf arg1)
hasDirection(BlockState state, Direction direction)
m_153900_(C_2064_ p_153901_, C_4687_ p_153902_)
private static boolean
a(bvt arg0, gl arg1, gg arg2, cks arg3)
canAttachTo(BlockGetter arg0, Direction arg1, BlockPos arg2, BlockState arg3)
method_33358(class_1922 arg0, class_2350 arg1, class_2338 arg2, class_2680 arg3)
m_sbqgnavz(C_peaveboq arg0, C_xpuuihxf arg1, C_hynzadkk arg2, C_txtbiemp arg3)
canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state)
m_153829_(C_1559_ p_153830_, C_4687_ p_153831_, C_4675_ p_153832_, C_2064_ p_153833_)
private boolean
q()
isWaterloggable()
method_33378()
m_mpzeizay()
isWaterlogged()
m_153964_()
private static BlockState
a(cks arg0, clj arg1)
removeFace(BlockState arg0, BooleanProperty arg1)
method_33365(class_2680 arg0, class_2746 arg1)
m_gmalhbny(C_txtbiemp arg0, C_xhwijdsd arg1)
disableDirection(BlockState state, BooleanProperty direction)
m_153897_(C_2064_ p_153898_, C_2084_ p_153899_)
public static BooleanProperty
b(gl arg0)
getFaceProperty(Direction arg0)
method_33374(class_2350 arg0)
m_scdkefrx(C_xpuuihxf arg0)
getProperty(Direction direction)
m_153933_(C_4687_ p_153934_)
private static BlockState
a(ckt<bzo, cks> arg0)
getDefaultMultifaceState(StateDefinition<Block, BlockState> arg0)
method_33368(class_2689<class_2248, class_2680> arg0)
m_yrphhzpz(C_ezfeikaq<C_mmxmpdoq, C_txtbiemp> arg0)
withAllDirections(StateManager<Block, BlockState> stateManager)
m_153918_(C_2065_<C_1706_, C_2064_> p_153919_)
private static VoxelShape
o(cks arg0)
calculateMultifaceShape(BlockState arg0)
method_33380(class_2680 arg0)
m_gxyuzfvb(C_txtbiemp arg0)
getShapeForState(BlockState state)
m_153958_(C_2064_ p_153959_)
protected static boolean
h(cks arg0)
hasAnyFace(BlockState arg0)
method_33381(class_2680 arg0)
m_zpjxxmlc(C_txtbiemp arg0)
hasAnyDirection(BlockState state)
m_153960_(C_2064_ p_153961_)
private static boolean
p(cks arg0)
hasAnyVacantFace(BlockState arg0)
method_33382(class_2680 arg0)
m_fpyuiuii(C_txtbiemp arg0)
isNotFullBlock(BlockState state)
m_153962_(C_2064_ p_153963_)