Updated recipe for dust and changed texture. Also trying to get Subtle Knife to work.

This commit is contained in:
dragonruler1000 2025-05-12 21:18:26 -05:00
parent 590254167b
commit fd080d8e30
5 changed files with 10 additions and 5 deletions

View file

@ -1,5 +1,7 @@
package us.minecraftchest2.hdm_mod.item.custom;
import jdk.nashorn.internal.ir.Block;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemUseContext;
@ -18,12 +20,14 @@ public class SubtleKnife extends Item {
@Override
public ActionResultType onItemUseFirst(ItemStack stack, ItemUseContext context) {
World world = context.getWorld();
// BlockPos pos =
PlayerEntity player = context.getPlayer();
if(!world.isRemote) {
BlockPos another_pos;
if(world.isRemote) {
// world.setBlockState()
}
return super.onItemUseFirst(stack, context);
}
}