mirror of
https://github.com/dragonruler1000/hdm-mod.git
synced 2025-06-30 00:49:32 -05:00
Updated recipe for dust and changed texture. Also trying to get Subtle Knife to work.
This commit is contained in:
parent
590254167b
commit
fd080d8e30
5 changed files with 10 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue