net.minecraft.world.level.block

public class ComposterBlock

extends Block implements WorldlyContainerHolder

All mapped superinterfaces:

FeatureElement, ItemLike, WorldlyContainerHolder

dgm
net.minecraft.world.level.block.ComposterBlock
net.minecraft.class_3962
net.minecraft.unmapped.C_cbvdmcmj
net.minecraft.block.ComposterBlock
net.minecraft.block.ComposterBlock
net.minecraft.src.C_1740_
net.minecraft.world.level.block.BlockComposter

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ComposterBlock>
a
CODEC
field_46320
f_hblpxgxt
CODEC
CODEC
f_303608_
public static final int
b
READY
field_31071
f_amrqhumd
NUM_LEVELS
READY
f_153088_
public static final int
c
MIN_LEVEL
field_31072
f_lhovhpys
MIN_LEVEL
MIN_LEVEL
f_153089_
public static final int
d
MAX_LEVEL
field_31073
f_fceuskfz
MAX_LEVEL
MAX_LEVEL
f_153090_
public static final IntegerProperty
e
LEVEL
field_17565
f_zvsjlxgd
LEVEL
LEVEL
f_51913_
public static final it.unimi.dsi.fastutil.objects.Object2FloatMap<ItemLike>
f
COMPOSTABLES
field_17566
f_mfhgdtry
ITEM_TO_LEVEL_INCREASE_CHANCE
ITEM_TO_LEVEL_INCREASE_CHANCE
f_51914_
private static final int
g
AABB_SIDE_THICKNESS
field_31074
f_svvoxefo
field_31074
SHAPE_SIDE_THICKNESS
f_153091_
private static final VoxelShape
h
OUTER_SHAPE
field_17567
f_slyaqjqt
RAYCAST_SHAPE
RAYCAST_SHAPE
f_51915_
private static final VoxelShape[]
i
SHAPES
field_17568
f_qsdeocap
LEVEL_TO_COLLISION_SHAPE
LEVEL_TO_COLLISION_SHAPE
f_51916_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<ComposterBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public static void
b()
bootStrap()
method_17758()
m_nvzvzqwg()
registerDefaultCompostableItems()
registerDefaultCompostableItems()
m_51988_()
private static void
a(float arg0, dbz arg1)
add(float arg0, ItemLike arg1)
method_17753(float arg0, class_1935 arg1)
m_padinrof(float arg0, C_gmbqjnle arg1)
registerCompostableItem(float levelIncreaseChance, ItemConvertible item)
registerCompostableItem(float levelIncreaseChance, ItemConvertible item)
m_51920_(float p_51921_, C_1595_ p_51922_)
public static void
a(dca arg0, iz arg1, boolean arg2)
handleFill(Level arg0, BlockPos arg1, boolean arg2)
method_18027(class_1937 arg0, class_2338 arg1, boolean arg2)
m_kmpicsiu(C_cdctfzbn arg0, C_hynzadkk arg1, boolean arg2)
playEffects(World world, BlockPos pos, boolean fill)
playEffects(World world, BlockPos pos, boolean fill)
m_51923_(C_1596_ p_51924_, C_4675_ p_51925_, boolean p_51926_)
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2, evy 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_51974_, C_1559_ p_51975_, C_4675_ p_51976_, C_3051_ arg3)
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2)
getInteractionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9584(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_jdegzotw(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
getRaycastShape(BlockState arg0, BlockView arg1, BlockPos arg2)
getRaycastShape(BlockState arg0, BlockView arg1, BlockPos arg2)
m_6079_(C_2064_ p_51970_, C_1559_ p_51971_, C_4675_ arg2)
protected VoxelShape
b(dse arg0, dbg arg1, iz arg2, evy arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_phzfypqf(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5939_(C_2064_ p_51991_, C_1559_ p_51992_, C_4675_ p_51993_, C_3051_ arg3)
protected void
b(dse arg0, dca arg1, iz arg2, dse arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_51979_, C_1596_ p_51980_, C_4675_ p_51981_, C_2064_ p_51982_, boolean arg4)
protected ItemInteractionResult
a(cur arg0, dse arg1, dca arg2, iz arg3, cmz arg4, bqv arg5, evp 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)
m_jzhgkbwu(C_sddaxwyk arg0, C_txtbiemp arg1, C_cdctfzbn arg2, C_hynzadkk arg3, C_jzrpycqo arg4, C_laxmzoqs arg5, C_jdakttms arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
onInteract(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
m_51273_(C_1391_ p_334681_, C_2064_ p_333427_, C_1596_ p_334604_, C_4675_ p_334719_, C_1141_ p_335310_, C_470_ p_332770_, C_3041_ arg6)
protected InteractionResult
a(dse arg0, dca arg1, iz arg2, cmz arg3, evp 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_327852_, C_1596_ p_336294_, C_4675_ p_330986_, C_1141_ p_332650_, C_3041_ arg4)
public static BlockState
a(bsw arg0, dse arg1, arf arg2, cur arg3, iz arg4)
insertItem(Entity arg0, BlockState arg1, ServerLevel arg2, ItemStack arg3, BlockPos arg4)
method_26373(class_1297 arg0, class_2680 arg1, class_3218 arg2, class_1799 arg3, class_2338 arg4)
m_tegkmfqw(C_astfners arg0, C_txtbiemp arg1, C_bdwnwhiu arg2, C_sddaxwyk arg3, C_hynzadkk arg4)
compost(Entity user, BlockState state, ServerWorld world, ItemStack stack, BlockPos pos)
compost(Entity entity, BlockState state, ServerWorld world, ItemStack stack, BlockPos pos)
m_268990_(C_507_ p_270919_, C_2064_ p_270087_, C_12_ p_270284_, C_1391_ p_270253_, C_4675_ p_270678_)
public static BlockState
a(bsw arg0, dse arg1, dca arg2, iz arg3)
extractProduce(Entity arg0, BlockState arg1, Level arg2, BlockPos arg3)
method_26374(class_1297 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3)
m_epngjhfs(C_astfners arg0, C_txtbiemp arg1, C_cdctfzbn arg2, C_hynzadkk arg3)
emptyFullComposter(Entity user, BlockState state, World world, BlockPos pos)
emptyFullComposter(Entity entity, BlockState state, World world, BlockPos pos)
m_51998_(C_507_ p_270467_, C_2064_ p_51999_, C_1596_ p_52000_, C_4675_ p_52001_)
static BlockState
a(bsw arg0, dse arg1, dcb arg2, iz arg3)
empty(Entity arg0, BlockState arg1, LevelAccessor arg2, BlockPos arg3)
method_17759(class_1297 arg0, class_2680 arg1, class_1936 arg2, class_2338 arg3)
m_mesdlwpw(C_astfners arg0, C_txtbiemp arg1, C_vdvbsyle arg2, C_hynzadkk arg3)
emptyComposter(Entity user, BlockState state, WorldAccess world, BlockPos pos)
emptyComposter(Entity entity, BlockState state, WorldAccess world, BlockPos pos)
m_269590_(C_507_ p_270236_, C_2064_ p_270873_, C_1598_ p_270963_, C_4675_ p_270211_)
static BlockState
a(bsw arg0, dse arg1, dcb arg2, iz arg3, cur arg4)
addItem(Entity arg0, BlockState arg1, LevelAccessor arg2, BlockPos arg3, ItemStack arg4)
method_17756(class_1297 arg0, class_2680 arg1, class_1936 arg2, class_2338 arg3, class_1799 arg4)
m_qukcmdbq(C_astfners arg0, C_txtbiemp arg1, C_vdvbsyle arg2, C_hynzadkk arg3, C_sddaxwyk arg4)
addToComposter(Entity user, BlockState state, WorldAccess world, BlockPos pos, ItemStack stack)
addToComposter(Entity entity, BlockState state, WorldAccess world, BlockPos pos, ItemStack item)
m_269330_(C_507_ p_270464_, C_2064_ p_270603_, C_1598_ p_270151_, C_4675_ p_270547_, C_1391_ p_270354_)
protected void
a(dse arg0, arf arg1, iz arg2, azh arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_221016_, C_12_ p_221017_, C_4675_ p_221018_, C_212974_ arg3)
protected boolean
c_(dse arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
protected int
a(dse arg0, dca arg1, iz arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_51946_, C_1596_ p_51947_, C_4675_ arg2)
protected void
a(dsf$a<dfb, dse> 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(dse arg0, eom 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_51943_, C_2754_ arg1)
public WorldlyContainer
a(dse arg0, dcb arg1, iz arg2)
getContainer(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_17680(class_2680 arg0, class_1936 arg1, class_2338 arg2)
m_vwnlbxaz(C_txtbiemp arg0, C_vdvbsyle arg1, C_hynzadkk arg2)
getInventory(BlockState arg0, WorldAccess arg1, BlockPos arg2)
getInventory(BlockState arg0, WorldAccess arg1, BlockPos arg2)
m_5840_(C_2064_ p_51957_, C_1598_ p_51958_, C_4675_ arg2)