net.minecraft.world.level.block

public class BannerBlock

extends AbstractBannerBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dfd
net.minecraft.world.level.block.BannerBlock
net.minecraft.class_2215
net.minecraft.block.BannerBlock
net.minecraft.src.C_1683_
net.minecraft.world.level.block.BlockBanner

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BannerBlock>
a
CODEC
field_46264
CODEC
f_302359_
public static final IntegerProperty
b
ROTATION
field_9924
ROTATION
f_49007_
private static final Map<DyeColor, Block>
c
BY_COLOR
field_9925
COLORED_BANNERS
f_49008_
private static final VoxelShape
d
SHAPE
field_9923
SHAPE
f_49009_

Constructor summary

ModifierConstructor
public (DyeColor p_49013_, BlockBehaviour$Properties arg1)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<BannerBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected boolean
a(dtc arg0, dcz arg1, jd arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_49020_, C_1599_ p_49021_, C_4675_ arg2)
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh 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)
m_5940_(C_2064_ p_49039_, C_1559_ p_49040_, C_4675_ p_49041_, C_3051_ arg3)
public BlockState
a(cyd arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
a(dtc arg0, ji arg1, dtc arg2, dcx arg3, jd arg4, jd 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)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_49030_, C_4687_ p_49031_, C_2064_ p_49032_, C_1598_ p_49033_, C_4675_ p_49034_, C_4675_ arg5)
protected BlockState
a(dtc arg0, dmm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_49027_, C_1886_ arg1)
protected BlockState
a(dtc arg0, dkv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_49024_, C_1838_ arg1)
protected void
a(dtd$a<dfy, dtc> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public static Block
a(cti arg0)
byColor(DyeColor arg0)
method_9398(class_1767 arg0)
getForColor(DyeColor color)
m_49014_(C_1353_ p_49015_)