net.minecraft.world.level.block

public class ComposterBlock

extends Block implements WorldlyContainerHolder

All mapped superinterfaces:

ItemLike, WorldlyContainerHolder

ceu
net.minecraft.world.level.block.ComposterBlock
net.minecraft.class_3962
net.minecraft.block.ComposterBlock
net.minecraft.src.C_1740_
net.minecraft.world.level.block.BlockComposter

Field summary

Modifier and TypeField
public static final int
a
READY
field_31071
MAX_LEVEL
f_153088_
public static final int
b
MIN_LEVEL
field_31072
field_31072
f_153089_
public static final int
c
MAX_LEVEL
field_31073
field_31073
f_153090_
public static final IntegerProperty
d
LEVEL
field_17565
LEVEL
f_51913_
public static final it.unimi.dsi.fastutil.objects.Object2FloatMap<ItemLike>
e
COMPOSTABLES
field_17566
ITEM_TO_LEVEL_INCREASE_CHANCE
f_51914_
private static final int
f
AABB_SIDE_THICKNESS
field_31074
field_31074
f_153091_
private static final VoxelShape
g
OUTER_SHAPE
field_17567
RAYCAST_SHAPE
f_51915_
private static final VoxelShape[]
h
SHAPES
field_17568
LEVEL_TO_COLLISION_SHAPE
f_51916_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public static void
c()
bootStrap()
method_17758()
registerDefaultCompostableItems()
m_51988_()
private static void
a(float arg0, cau arg1)
add(float arg0, ItemLike arg1)
method_17753(float arg0, class_1935 arg1)
registerCompostableItem(float levelIncreaseChance, ItemConvertible item)
m_51920_(float p_51921_, C_1595_ p_51922_)
public static void
a(cav arg0, gj arg1, boolean arg2)
handleFill(Level arg0, BlockPos arg1, boolean arg2)
method_18027(class_1937 arg0, class_2338 arg1, boolean arg2)
playEffects(World world, BlockPos pos, boolean fill)
m_51923_(C_1596_ p_51924_, C_4675_ p_51925_, boolean p_51926_)
public VoxelShape
a(cov arg0, cab arg1, gj arg2, dpt 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_51974_, C_1559_ p_51975_, C_4675_ p_51976_, C_3051_ arg3)
public VoxelShape
a(cov arg0, cab arg1, gj arg2)
getInteractionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9584(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getRaycastShape(BlockState arg0, BlockView arg1, BlockPos arg2)
m_6079_(C_2064_ p_51970_, C_1559_ p_51971_, C_4675_ arg2)
public VoxelShape
c(cov arg0, cab arg1, gj arg2, dpt arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 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)
public void
b(cov arg0, cav arg1, gj arg2, cov 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)
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)
public InteractionResult
a(cov arg0, cav arg1, gj arg2, boj arg3, awg arg4, dpk arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_51950_, C_1596_ p_51951_, C_4675_ p_51952_, C_1141_ p_51953_, C_470_ p_51954_, C_3041_ arg5)
public static BlockState
a(cov arg0, adw arg1, buw arg2, gj arg3)
insertItem(BlockState arg0, ServerLevel arg1, ItemStack arg2, BlockPos arg3)
method_26373(class_2680 arg0, class_3218 arg1, class_1799 arg2, class_2338 arg3)
compost(BlockState state, ServerWorld world, ItemStack stack, BlockPos pos)
m_51929_(C_2064_ p_51930_, C_12_ p_51931_, C_1391_ p_51932_, C_4675_ p_51933_)
public static BlockState
d(cov arg0, cav arg1, gj arg2)
extractProduce(BlockState arg0, Level arg1, BlockPos arg2)
method_26374(class_2680 arg0, class_1937 arg1, class_2338 arg2)
emptyFullComposter(BlockState state, World world, BlockPos pos)
m_51998_(C_2064_ p_51999_, C_1596_ p_52000_, C_4675_ p_52001_)
static BlockState
c(cov arg0, caw arg1, gj arg2)
empty(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_17759(class_2680 arg0, class_1936 arg1, class_2338 arg2)
emptyComposter(BlockState state, WorldAccess world, BlockPos pos)
m_52002_(C_2064_ p_52003_, C_1598_ p_52004_, C_4675_ p_52005_)
static BlockState
a(cov arg0, caw arg1, gj arg2, buw arg3)
addItem(BlockState arg0, LevelAccessor arg1, BlockPos arg2, ItemStack arg3)
method_17756(class_2680 arg0, class_1936 arg1, class_2338 arg2, class_1799 arg3)
addToComposter(BlockState state, WorldAccess world, BlockPos pos, ItemStack item)
m_51983_(C_2064_ p_51984_, C_1598_ p_51985_, C_4675_ p_51986_, C_1391_ p_51987_)
public void
a(cov arg0, adw arg1, gj arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_51936_, C_12_ p_51937_, C_4675_ p_51938_, Random arg3)
public boolean
d_(cov arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public int
a(cov arg0, cav arg1, gj arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_51946_, C_1596_ p_51947_, C_4675_ arg2)
protected void
a(cow$a<cdq, cov> 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 boolean
a(cov arg0, cab arg1, gj arg2, djo arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_51941_, C_1559_ p_51942_, C_4675_ p_51943_, C_2754_ arg3)
public WorldlyContainer
a(cov arg0, caw arg1, gj arg2)
getContainer(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_17680(class_2680 arg0, class_1936 arg1, class_2338 arg2)
getInventory(BlockState arg0, WorldAccess arg1, BlockPos arg2)
m_5840_(C_2064_ p_51957_, C_1598_ p_51958_, C_4675_ arg2)