mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-28 16:06:04 +00:00
Auto-format spaces to tabs (#2)
This commit is contained in:
1 parent
25be7fd254
commit
5bb4b5d9a5
756 files changed
+49198
-48489
No files matched your search
@@ -12,55 +12,55 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
public enum KitchenMachine implements IMachineType {
|
||||
Worktop(null),
|
||||
Cupboard(null),
|
||||
BottleRack(BottleRack.PackageBottleRack.class);
|
||||
Worktop(null),
|
||||
Cupboard(null),
|
||||
BottleRack(BottleRack.PackageBottleRack.class);
|
||||
|
||||
Class<? extends MachinePackage> clss;
|
||||
Class<? extends MachinePackage> clss;
|
||||
|
||||
KitchenMachine(final Class<? extends MachinePackage> clss) {
|
||||
this.clss = clss;
|
||||
}
|
||||
KitchenMachine(final Class<? extends MachinePackage> clss) {
|
||||
this.clss = clss;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<? extends MachinePackage> getPackageClass() {
|
||||
return this.clss;
|
||||
}
|
||||
@Override
|
||||
public Class<? extends MachinePackage> getPackageClass() {
|
||||
return this.clss;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isActive() {
|
||||
return this.clss != null;
|
||||
}
|
||||
@Override
|
||||
public boolean isActive() {
|
||||
return this.clss != null;
|
||||
}
|
||||
|
||||
public ItemStack get(final int i) {
|
||||
return new ItemStack(ExtraTrees.blockKitchen, i, this.ordinal());
|
||||
}
|
||||
public ItemStack get(final int i) {
|
||||
return new ItemStack(ExtraTrees.blockKitchen, i, this.ordinal());
|
||||
}
|
||||
|
||||
public abstract static class PackageKitchenMachine extends MachinePackage {
|
||||
BinnieResource textureName;
|
||||
public abstract static class PackageKitchenMachine extends MachinePackage {
|
||||
BinnieResource textureName;
|
||||
|
||||
protected PackageKitchenMachine(final String uid, final String textureName) {
|
||||
super(uid, false);
|
||||
this.textureName = Binnie.Resource.getFile(ExtraTrees.instance, ResourceType.Tile, textureName);
|
||||
}
|
||||
protected PackageKitchenMachine(final String uid, final String textureName) {
|
||||
super(uid, false);
|
||||
this.textureName = Binnie.Resource.getFile(ExtraTrees.instance, ResourceType.Tile, textureName);
|
||||
}
|
||||
|
||||
protected PackageKitchenMachine(final String uid, final BinnieResource textureName) {
|
||||
super(uid, false);
|
||||
this.textureName = textureName;
|
||||
}
|
||||
protected PackageKitchenMachine(final String uid, final BinnieResource textureName) {
|
||||
super(uid, false);
|
||||
this.textureName = textureName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createTileEntity() {
|
||||
return new TileEntityMachine(this);
|
||||
}
|
||||
@Override
|
||||
public TileEntity createTileEntity() {
|
||||
return new TileEntityMachine(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register() {
|
||||
}
|
||||
@Override
|
||||
public void register() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderMachine(final Machine machine, final double x, final double y, final double z, final float var8) {
|
||||
MachineRendererKitchen.instance.renderMachine(machine, this.textureName, x, y, z, var8);
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public void renderMachine(final Machine machine, final double x, final double y, final double z, final float var8) {
|
||||
MachineRendererKitchen.instance.renderMachine(machine, this.textureName, x, y, z, var8);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user