mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
run repo through formatter
This commit is contained in:
1 parent
5585d680a3
commit
ffaea7d4b7
140 files changed
+1050
-892
No files matched your search
@@ -5,38 +5,44 @@ import mantle.blocks.abstracts.InventoryLogic;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class SmelteryEvent extends Event {
|
||||
public class SmelteryEvent extends Event
|
||||
{
|
||||
|
||||
public InventoryLogic component;
|
||||
public int x, y, z;
|
||||
|
||||
public SmelteryEvent(InventoryLogic component, int x, int y, int z)
|
||||
{
|
||||
this.component = component;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
public static class ItemInsertedIntoCasting extends SmelteryEvent
|
||||
{
|
||||
public ItemStack item;
|
||||
public EntityPlayer player;
|
||||
|
||||
public ItemInsertedIntoCasting(InventoryLogic component, int x, int y, int z, ItemStack item, EntityPlayer player)
|
||||
{
|
||||
super(component, x, y, z);
|
||||
this.item = item;
|
||||
this.player = player;
|
||||
}
|
||||
}
|
||||
|
||||
public static class ItemRemovedFromCasting extends SmelteryEvent
|
||||
{
|
||||
public ItemStack item;
|
||||
public EntityPlayer player;
|
||||
|
||||
public ItemRemovedFromCasting(InventoryLogic component, int x, int y, int z, ItemStack item, EntityPlayer player)
|
||||
{
|
||||
super(component, x, y, z);
|
||||
this.item = item;
|
||||
this.player = player;
|
||||
}
|
||||
}
|
||||
|
||||
public InventoryLogic component;
|
||||
public int x, y, z;
|
||||
|
||||
public SmelteryEvent(InventoryLogic component, int x, int y, int z){
|
||||
this.component = component;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
public static class ItemInsertedIntoCasting extends SmelteryEvent {
|
||||
public ItemStack item;
|
||||
public EntityPlayer player;
|
||||
|
||||
public ItemInsertedIntoCasting(InventoryLogic component, int x, int y, int z, ItemStack item, EntityPlayer player) {
|
||||
super(component, x, y, z);
|
||||
this.item = item;
|
||||
this.player = player;
|
||||
}
|
||||
}
|
||||
|
||||
public static class ItemRemovedFromCasting extends SmelteryEvent {
|
||||
public ItemStack item;
|
||||
public EntityPlayer player;
|
||||
|
||||
public ItemRemovedFromCasting(InventoryLogic component, int x, int y, int z, ItemStack item, EntityPlayer player) {
|
||||
super(component, x, y, z);
|
||||
this.item = item;
|
||||
this.player = player;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,16 +5,18 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class ToolCraftedEvent extends Event {
|
||||
public class ToolCraftedEvent extends Event
|
||||
{
|
||||
|
||||
public IInventory inventory;
|
||||
public EntityPlayer player;
|
||||
public ItemStack tool;
|
||||
|
||||
public ToolCraftedEvent(IInventory inventory, EntityPlayer player, ItemStack tool)
|
||||
{
|
||||
this.inventory = inventory;
|
||||
this.player = player;
|
||||
this.tool = tool;
|
||||
}
|
||||
|
||||
public IInventory inventory;
|
||||
public EntityPlayer player;
|
||||
public ItemStack tool;
|
||||
|
||||
public ToolCraftedEvent(IInventory inventory, EntityPlayer player, ItemStack tool){
|
||||
this.inventory = inventory;
|
||||
this.player = player;
|
||||
this.tool = tool;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user