net.minecraft.world.level.block

public class FlowerPotBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

djb
net.minecraft.world.level.block.FlowerPotBlock
net.minecraft.class_2362
net.minecraft.block.FlowerPotBlock
net.minecraft.src.C_1793_
net.minecraft.world.level.block.BlockFlowerPot

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FlowerPotBlock>
a
CODEC
field_46356
CODEC
f_302657_
private static final Map<Block, Block>
d
POTTED_BY_CONTENT
field_11103
CONTENT_TO_POTTED
f_53524_
public static final float
b
AABB_SIZE
field_31095
field_31095
f_153266_
protected static final VoxelShape
c
SHAPE
field_11102
SHAPE
f_53523_
private final Block
e
potted
field_11101
content
f_302266_

Constructor summary

ModifierConstructor
public (Block content, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<FlowerPotBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
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_53557_, C_1559_ p_53558_, C_4675_ p_53559_, C_3051_ arg3)
protected ItemInteractionResult
a(cuq arg0, dtc arg1, dcw arg2, jd arg3, cmx arg4, bqq arg5, ewy arg6)
useItemOn(ItemStack arg0, BlockState arg1, Level arg2, BlockPos arg3, Player arg4, InteractionHand arg5, BlockHitResult arg6)
method_55765(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1657 arg4, class_1268 arg5, class_3965 arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
m_51273_(C_1391_ p_328047_, C_2064_ p_328816_, C_1596_ p_334572_, C_4675_ p_329206_, C_1141_ p_329142_, C_470_ p_330607_, C_3041_ arg6)
protected InteractionResult
a(dtc arg0, dcw arg1, jd arg2, cmx arg3, ewy 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)
m_6227_(C_2064_ p_334489_, C_1596_ p_330334_, C_4675_ p_333787_, C_1141_ p_335374_, C_3041_ arg4)
public ItemStack
a(dcz arg0, jd arg1, dtc arg2)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1599_ p_53532_, C_4675_ p_53533_, C_2064_ arg2)
private boolean
m()
isEmpty()
method_31646()
isEmpty()
m_153267_()
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_53548_, C_4687_ p_53549_, C_2064_ p_53550_, C_1598_ p_53551_, C_4675_ p_53552_, C_4675_ arg5)
public Block
b()
getPotted()
method_16231()
getContent()
m_304918_()
protected boolean
a(dtc arg0, ept arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_53538_, C_2754_ arg1)