net.minecraft.world.level.block

public class BannerBlock

extends AbstractBannerBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

djr
net.minecraft.world.level.block.BannerBlock
net.minecraft.class_2215
net.minecraft.block.BannerBlock
net.minecraft.world.level.block.BlockBanner

Field summary

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

Constructor summary

ModifierConstructor
public (DyeColor arg0, BlockBehaviour$Properties arg1)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<BannerBlock>
a()
codec()
method_53969()
getCodec()
protected boolean
a(dxv arg0, dhl arg1, jh 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)
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)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror 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)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public static Block
a(cwm arg0)
byColor(DyeColor arg0)
method_9398(class_1767 arg0)
getForColor(DyeColor color)