net.minecraft.item

public class DebugStickItem

extends Item

All mapped superinterfaces:

ItemConvertible, ToggleableFeature

net.minecraft.world.item.DebugStickItem
net.minecraft.world.item.DebugStickItem
net.minecraft.class_1763
net.minecraft.item.DebugStickItem

Constructor summary

ModifierConstructor
public (Item$Settings properties)

Method summary

Modifier and TypeMethod
public boolean
canDestroyBlock(ItemStack itemStack, BlockState state, Level level, BlockPos pos, LivingEntity user)
canDestroyBlock(ItemStack itemStack, BlockState state, Level level, BlockPos pos, LivingEntity user)
method_7885(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1309 arg4)
canMine(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, LivingEntity arg4)
public ActionResult
useOn(UseOnContext context)
useOn(UseOnContext context)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
private boolean
handleInteraction(ServerPlayer player, BlockState state, LevelAccessor level, BlockPos pos, boolean cycle, ItemStack itemStackInHand)
handleInteraction(ServerPlayer player, BlockState state, LevelAccessor level, BlockPos pos, boolean cycle, ItemStack itemStackInHand)
method_7759(class_3222 arg0, class_2680 arg1, class_1936 arg2, class_2338 arg3, boolean arg4, class_1799 arg5)
use(ServerPlayerEntity arg0, BlockState state, WorldAccess world, BlockPos pos, boolean update, ItemStack stack)
private static <T extends Comparable<T>> BlockState
cycleState(BlockState state, Property<T> property, boolean backward)
cycleState(BlockState state, Property<T> property, boolean backward)
method_7758(class_2680 arg0, class_2769<T> arg1, boolean arg2)
cycle(BlockState state, Property<T> property, boolean inverse)
private static <T> T
getRelative(Iterable<T> collection, T current, boolean backward)
getRelative(Iterable<T> collection, T current, boolean backward)
method_7760(Iterable<T> arg0, T arg1, boolean arg2)
cycle(Iterable<T> elements, T current, boolean inverse)
private static void
message(ServerPlayer player, Component message)
message(ServerPlayer player, Component message)
method_7762(class_3222 arg0, class_2561 arg1)
sendMessage(ServerPlayerEntity arg0, Text message)
private static <T extends Comparable<T>> String
getNameHelper(BlockState state, Property<T> property)
getNameHelper(BlockState state, Property<T> property)
method_7761(class_2680 arg0, class_2769<T> arg1)
getValueString(BlockState state, Property<T> property)