T - The tile type.public class SlotWorkingRemoveOnly<T extends TileWorking<T,?>> extends SlotWorking<T>
container| Constructor and Description |
|---|
SlotWorkingRemoveOnly(int index,
int x,
int y,
ContainerTileWorking<T> container,
boolean shouldHardReset,
net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isItemValid(net.minecraft.item.ItemStack itemStack) |
void |
onSlotChanged() |
net.minecraft.item.ItemStack |
onTake(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack itemStack) |
public SlotWorkingRemoveOnly(int index,
int x,
int y,
ContainerTileWorking<T> container,
boolean shouldHardReset,
net.minecraft.world.World world)
public boolean isItemValid(net.minecraft.item.ItemStack itemStack)
isItemValid in class SlotWorking<T extends TileWorking<T,?>>public net.minecraft.item.ItemStack onTake(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack itemStack)
onTake in class SlotWorking<T extends TileWorking<T,?>>public void onSlotChanged()
onSlotChanged in class SlotWorking<T extends TileWorking<T,?>>