mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 11:15:07 +00:00
Change package name for realsies now :P
This commit is contained in:
1 parent
4d8df815cc
commit
dae454dc17
138 files changed
+491
-438
No files matched your search
@@ -0,0 +1,46 @@
|
||||
package com.cricketcraft.chisel.inventory;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
|
||||
public class SlotChiselPlayer extends Slot
|
||||
{
|
||||
|
||||
public SlotChiselPlayer(ContainerChisel container, InventoryPlayer inv, int i, int j, int k)
|
||||
{
|
||||
super(inv, i, j, k);
|
||||
|
||||
this.container = container;
|
||||
selInventory = inv;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isItemValid(ItemStack par1ItemStack)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPickupFromSlot(EntityPlayer player, ItemStack itemstack)
|
||||
{
|
||||
container.finished = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getHasStack()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack decrStackSize(int i)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
ContainerChisel container;
|
||||
InventoryPlayer selInventory;
|
||||
}
|
||||
Reference in new issue
Block a user