net.minecraft.world.level.block

public class ComposterBlock

extends Block implements WorldlyContainerHolder

All mapped superinterfaces:

ItemLike, WorldlyContainerHolder

bnq
net.minecraft.world.level.block.ComposterBlock
net.minecraft.class_3962
net.minecraft.block.ComposterBlock
net.minecraft.block.ComposterBlock
net.minecraft.server.v1_14_R1.BlockComposter

Field summary

Modifier and TypeField
public static final IntegerProperty
a
LEVEL
field_17565
LEVEL
field_220298_a
public static final it.unimi.dsi.fastutil.objects.Object2FloatMap<ItemLike>
b
COMPOSTABLES
field_17566
ITEM_TO_LEVEL_INCREASE_CHANCE
field_220299_b
public static final VoxelShape
c
OUTER_SHAPE
field_17567
RAY_TRACE_SHAPE
field_220300_c
private static final VoxelShape[]
d
SHAPES
field_17568
LEVEL_TO_COLLISION_SHAPE
field_220301_d

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
public static void
d()
bootStrap()
method_17758()
registerDefaultCompostableItems()
func_220297_d()
private static void
a(float arg0, bhq arg1)
add(float arg0, ItemLike arg1)
method_17753(float arg0, class_1935 arg1)
registerCompostableItem(float levelIncreaseChance, ItemConvertible item)
func_220290_a(float arg0, IItemProvider arg1)
public VoxelShape
a(bvt arg0, bhb arg1, ew arg2, csn 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, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public VoxelShape
i(bvt arg0, bhb arg1, ew arg2)
getInteractionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9584(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getRayTraceShape(BlockState arg0, BlockView arg1, BlockPos arg2)
func_199600_g(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public VoxelShape
b(bvt arg0, bhb arg1, ew arg2, csn 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, EntityContext arg3)
func_220071_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public void
b(bvt arg0, bhr arg1, ew arg2, bvt 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)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public boolean
a(bvt arg0, bhr arg1, ew arg2, awg arg3, ahi arg4, csd 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)
activate(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
private static void
d(bvt arg0, bhs arg1, ew arg2)
empty(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_17759(class_2680 arg0, class_1936 arg1, class_2338 arg2)
emptyComposter(BlockState state, IWorld world, BlockPos pos)
func_220294_d(BlockState arg0, IWorld arg1, BlockPos arg2)
private static boolean
b(bvt arg0, bhs arg1, ew arg2, bcj 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, IWorld world, BlockPos pos, ItemStack item)
func_220293_b(BlockState arg0, IWorld arg1, BlockPos arg2, ItemStack arg3)
public void
b(bvt arg0, bhr arg1, ew arg2, Random arg3)
tick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
onScheduledTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, World arg1, BlockPosition arg2, Random arg3)
public boolean
b(bvt arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
func_149740_M(BlockState arg0)
isComplexRedstone(IBlockData arg0)
public int
a(bvt arg0, bhr arg1, ew 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)
func_180641_l(BlockState arg0, World arg1, BlockPos arg2)
protected void
a(bvu$a<bmv, bvt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public boolean
a(bvt arg0, bhb arg1, ew arg2, cns arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public WorldlyContainer
a(bvt arg0, bhs arg1, ew arg2)
getContainer(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_17680(class_2680 arg0, class_1936 arg1, class_2338 arg2)
getInventory(BlockState arg0, IWorld arg1, BlockPos arg2)
func_219966_a(BlockState arg0, IWorld arg1, BlockPos arg2)
public static void
a(bhr arg0, ew 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)
func_220292_a(World arg0, BlockPos arg1, boolean arg2)