mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 19:25:06 +00:00
Begin chisel mode implementation
This commit is contained in:
1 parent
86713ab449
commit
89299f6e27
8 files changed
+141
-33
No files matched your search
@@ -6,6 +6,7 @@ import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import com.cricketcraft.chisel.api.IChiselItem;
|
||||
import com.cricketcraft.chisel.utils.General;
|
||||
|
||||
public class SlotChiselSelection extends Slot {
|
||||
|
||||
@@ -55,7 +56,7 @@ public class SlotChiselSelection extends Slot {
|
||||
|
||||
selInventory.updateItems();
|
||||
|
||||
((IChiselItem)container.chisel.getItem()).onChisel(player.worldObj, player.inventory, player.inventory.currentItem, container.chisel, crafted);
|
||||
((IChiselItem)container.chisel.getItem()).onChisel(player.worldObj, player.inventory, player.inventory.currentItem, container.chisel, General.getVariation(crafted));
|
||||
|
||||
/*
|
||||
* ItemStack stack=player.inventory.getItemStack();
|
||||
|
||||
Reference in new issue
Block a user