Fix some stuff
This commit is contained in:
@@ -2,10 +2,10 @@ package cofh.api;
|
|||||||
|
|
||||||
public class CoFHAPIProps {
|
public class CoFHAPIProps {
|
||||||
|
|
||||||
private CoFHAPIProps() {
|
private CoFHAPIProps() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final String VERSION = "1.8.9R1.2.0B1";
|
public static final String VERSION = "1.8.9R1.2.0B1";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -6,157 +6,156 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||||||
* Reference implementation of {@link IEnergyStorage}. Use/extend this or implement your own.
|
* Reference implementation of {@link IEnergyStorage}. Use/extend this or implement your own.
|
||||||
*
|
*
|
||||||
* @author King Lemming
|
* @author King Lemming
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class EnergyStorage implements IEnergyStorage {
|
public class EnergyStorage implements IEnergyStorage {
|
||||||
|
|
||||||
protected int energy;
|
protected int energy;
|
||||||
protected int capacity;
|
protected int capacity;
|
||||||
protected int maxReceive;
|
protected int maxReceive;
|
||||||
protected int maxExtract;
|
protected int maxExtract;
|
||||||
|
|
||||||
public EnergyStorage(int capacity) {
|
public EnergyStorage(int capacity) {
|
||||||
|
|
||||||
this(capacity, capacity, capacity);
|
this(capacity, capacity, capacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
public EnergyStorage(int capacity, int maxTransfer) {
|
public EnergyStorage(int capacity, int maxTransfer) {
|
||||||
|
|
||||||
this(capacity, maxTransfer, maxTransfer);
|
this(capacity, maxTransfer, maxTransfer);
|
||||||
}
|
}
|
||||||
|
|
||||||
public EnergyStorage(int capacity, int maxReceive, int maxExtract) {
|
public EnergyStorage(int capacity, int maxReceive, int maxExtract) {
|
||||||
|
|
||||||
this.capacity = capacity;
|
this.capacity = capacity;
|
||||||
this.maxReceive = maxReceive;
|
this.maxReceive = maxReceive;
|
||||||
this.maxExtract = maxExtract;
|
this.maxExtract = maxExtract;
|
||||||
}
|
}
|
||||||
|
|
||||||
public EnergyStorage readFromNBT(NBTTagCompound nbt) {
|
public EnergyStorage readFromNBT(NBTTagCompound nbt) {
|
||||||
|
|
||||||
this.energy = nbt.getInteger("Energy");
|
this.energy = nbt.getInteger("Energy");
|
||||||
|
|
||||||
if (energy > capacity) {
|
if (energy > capacity) {
|
||||||
energy = capacity;
|
energy = capacity;
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public NBTTagCompound writeToNBT(NBTTagCompound nbt) {
|
public NBTTagCompound writeToNBT(NBTTagCompound nbt) {
|
||||||
|
|
||||||
if (energy < 0) {
|
if (energy < 0) {
|
||||||
energy = 0;
|
energy = 0;
|
||||||
}
|
}
|
||||||
nbt.setInteger("Energy", energy);
|
nbt.setInteger("Energy", energy);
|
||||||
return nbt;
|
return nbt;
|
||||||
}
|
}
|
||||||
|
|
||||||
public EnergyStorage setCapacity(int capacity) {
|
public EnergyStorage setCapacity(int capacity) {
|
||||||
|
|
||||||
this.capacity = capacity;
|
this.capacity = capacity;
|
||||||
|
|
||||||
if (energy > capacity) {
|
if (energy > capacity) {
|
||||||
energy = capacity;
|
energy = capacity;
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public EnergyStorage setMaxTransfer(int maxTransfer) {
|
public EnergyStorage setMaxTransfer(int maxTransfer) {
|
||||||
|
|
||||||
setMaxReceive(maxTransfer);
|
setMaxReceive(maxTransfer);
|
||||||
setMaxExtract(maxTransfer);
|
setMaxExtract(maxTransfer);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public EnergyStorage setMaxReceive(int maxReceive) {
|
public EnergyStorage setMaxReceive(int maxReceive) {
|
||||||
|
|
||||||
this.maxReceive = maxReceive;
|
this.maxReceive = maxReceive;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public EnergyStorage setMaxExtract(int maxExtract) {
|
public EnergyStorage setMaxExtract(int maxExtract) {
|
||||||
|
|
||||||
this.maxExtract = maxExtract;
|
this.maxExtract = maxExtract;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getMaxReceive() {
|
public int getMaxReceive() {
|
||||||
|
|
||||||
return maxReceive;
|
return maxReceive;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getMaxExtract() {
|
public int getMaxExtract() {
|
||||||
|
|
||||||
return maxExtract;
|
return maxExtract;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is included to allow for server to client sync. Do not call this externally to the containing Tile Entity, as not all IEnergyHandlers
|
* This function is included to allow for server to client sync. Do not call this externally to the containing Tile Entity, as not all IEnergyHandlers
|
||||||
* are guaranteed to have it.
|
* are guaranteed to have it.
|
||||||
*
|
*
|
||||||
* @param energy
|
* @param energy
|
||||||
*/
|
*/
|
||||||
public void setEnergyStored(int energy) {
|
public void setEnergyStored(int energy) {
|
||||||
|
|
||||||
this.energy = energy;
|
this.energy = energy;
|
||||||
|
|
||||||
if (this.energy > capacity) {
|
if (this.energy > capacity) {
|
||||||
this.energy = capacity;
|
this.energy = capacity;
|
||||||
} else if (this.energy < 0) {
|
} else if (this.energy < 0) {
|
||||||
this.energy = 0;
|
this.energy = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is included to allow the containing tile to directly and efficiently modify the energy contained in the EnergyStorage. Do not rely on this
|
* This function is included to allow the containing tile to directly and efficiently modify the energy contained in the EnergyStorage. Do not rely on this
|
||||||
* externally, as not all IEnergyHandlers are guaranteed to have it.
|
* externally, as not all IEnergyHandlers are guaranteed to have it.
|
||||||
*
|
*
|
||||||
* @param energy
|
* @param energy
|
||||||
*/
|
*/
|
||||||
public void modifyEnergyStored(int energy) {
|
public void modifyEnergyStored(int energy) {
|
||||||
|
|
||||||
this.energy += energy;
|
this.energy += energy;
|
||||||
|
|
||||||
if (this.energy > capacity) {
|
if (this.energy > capacity) {
|
||||||
this.energy = capacity;
|
this.energy = capacity;
|
||||||
} else if (this.energy < 0) {
|
} else if (this.energy < 0) {
|
||||||
this.energy = 0;
|
this.energy = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IEnergyStorage */
|
/* IEnergyStorage */
|
||||||
@Override
|
@Override
|
||||||
public int receiveEnergy(int maxReceive, boolean simulate) {
|
public int receiveEnergy(int maxReceive, boolean simulate) {
|
||||||
|
|
||||||
int energyReceived = Math.min(capacity - energy, Math.min(this.maxReceive, maxReceive));
|
int energyReceived = Math.min(capacity - energy, Math.min(this.maxReceive, maxReceive));
|
||||||
|
|
||||||
if (!simulate) {
|
if (!simulate) {
|
||||||
energy += energyReceived;
|
energy += energyReceived;
|
||||||
}
|
}
|
||||||
return energyReceived;
|
return energyReceived;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int extractEnergy(int maxExtract, boolean simulate) {
|
public int extractEnergy(int maxExtract, boolean simulate) {
|
||||||
|
|
||||||
int energyExtracted = Math.min(energy, Math.min(this.maxExtract, maxExtract));
|
int energyExtracted = Math.min(energy, Math.min(this.maxExtract, maxExtract));
|
||||||
|
|
||||||
if (!simulate) {
|
if (!simulate) {
|
||||||
energy -= energyExtracted;
|
energy -= energyExtracted;
|
||||||
}
|
}
|
||||||
return energyExtracted;
|
return energyExtracted;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getEnergyStored() {
|
public int getEnergyStored() {
|
||||||
|
|
||||||
return energy;
|
return energy;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMaxEnergyStored() {
|
public int getMaxEnergyStored() {
|
||||||
|
|
||||||
return capacity;
|
return capacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -10,13 +10,12 @@ import net.minecraft.util.EnumFacing;
|
|||||||
* Note that {@link IEnergyHandler} is an extension of this.
|
* Note that {@link IEnergyHandler} is an extension of this.
|
||||||
*
|
*
|
||||||
* @author King Lemming
|
* @author King Lemming
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public interface IEnergyConnection {
|
public interface IEnergyConnection {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns TRUE if the TileEntity can connect on a given side.
|
* Returns TRUE if the TileEntity can connect on a given side.
|
||||||
*/
|
*/
|
||||||
boolean canConnectEnergy(EnumFacing from);
|
boolean canConnectEnergy(EnumFacing from);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -8,45 +8,38 @@ import net.minecraft.item.ItemStack;
|
|||||||
* A reference implementation is provided {@link ItemEnergyContainer}.
|
* A reference implementation is provided {@link ItemEnergyContainer}.
|
||||||
*
|
*
|
||||||
* @author King Lemming
|
* @author King Lemming
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public interface IEnergyContainerItem {
|
public interface IEnergyContainerItem {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds energy to a container item. Returns the quantity of energy that was accepted. This should always return 0 if the item cannot be externally charged.
|
* Adds energy to a container item. Returns the quantity of energy that was accepted. This should always return 0 if the item cannot be externally charged.
|
||||||
*
|
*
|
||||||
* @param container
|
* @param container ItemStack to be charged.
|
||||||
* ItemStack to be charged.
|
* @param maxReceive Maximum amount of energy to be sent into the item.
|
||||||
* @param maxReceive
|
* @param simulate If TRUE, the charge will only be simulated.
|
||||||
* Maximum amount of energy to be sent into the item.
|
* @return Amount of energy that was (or would have been, if simulated) received by the item.
|
||||||
* @param simulate
|
*/
|
||||||
* If TRUE, the charge will only be simulated.
|
int receiveEnergy(ItemStack container, int maxReceive, boolean simulate);
|
||||||
* @return Amount of energy that was (or would have been, if simulated) received by the item.
|
|
||||||
*/
|
|
||||||
int receiveEnergy(ItemStack container, int maxReceive, boolean simulate);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes energy from a container item. Returns the quantity of energy that was removed. This should always return 0 if the item cannot be externally
|
* Removes energy from a container item. Returns the quantity of energy that was removed. This should always return 0 if the item cannot be externally
|
||||||
* discharged.
|
* discharged.
|
||||||
*
|
*
|
||||||
* @param container
|
* @param container ItemStack to be discharged.
|
||||||
* ItemStack to be discharged.
|
* @param maxExtract Maximum amount of energy to be extracted from the item.
|
||||||
* @param maxExtract
|
* @param simulate If TRUE, the discharge will only be simulated.
|
||||||
* Maximum amount of energy to be extracted from the item.
|
* @return Amount of energy that was (or would have been, if simulated) extracted from the item.
|
||||||
* @param simulate
|
*/
|
||||||
* If TRUE, the discharge will only be simulated.
|
int extractEnergy(ItemStack container, int maxExtract, boolean simulate);
|
||||||
* @return Amount of energy that was (or would have been, if simulated) extracted from the item.
|
|
||||||
*/
|
|
||||||
int extractEnergy(ItemStack container, int maxExtract, boolean simulate);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the amount of energy currently stored in the container item.
|
* Get the amount of energy currently stored in the container item.
|
||||||
*/
|
*/
|
||||||
int getEnergyStored(ItemStack container);
|
int getEnergyStored(ItemStack container);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the max amount of energy that can be stored in the container item.
|
* Get the max amount of energy that can be stored in the container item.
|
||||||
*/
|
*/
|
||||||
int getMaxEnergyStored(ItemStack container);
|
int getMaxEnergyStored(ItemStack container);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -10,18 +10,17 @@ import net.minecraft.util.EnumFacing;
|
|||||||
* Note that {@link IEnergyReceiver} and {@link IEnergyProvider} are extensions of this.
|
* Note that {@link IEnergyReceiver} and {@link IEnergyProvider} are extensions of this.
|
||||||
*
|
*
|
||||||
* @author King Lemming
|
* @author King Lemming
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public interface IEnergyHandler extends IEnergyConnection {
|
public interface IEnergyHandler extends IEnergyConnection {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the amount of energy currently stored.
|
* Returns the amount of energy currently stored.
|
||||||
*/
|
*/
|
||||||
int getEnergyStored(EnumFacing from);
|
int getEnergyStored(EnumFacing from);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the maximum amount of energy that can be stored.
|
* Returns the maximum amount of energy that can be stored.
|
||||||
*/
|
*/
|
||||||
int getMaxEnergyStored(EnumFacing from);
|
int getMaxEnergyStored(EnumFacing from);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -9,21 +9,17 @@ import net.minecraft.util.EnumFacing;
|
|||||||
* A reference implementation is provided {@link TileEnergyHandler}.
|
* A reference implementation is provided {@link TileEnergyHandler}.
|
||||||
*
|
*
|
||||||
* @author King Lemming
|
* @author King Lemming
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public interface IEnergyProvider extends IEnergyHandler {
|
public interface IEnergyProvider extends IEnergyHandler {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove energy from an IEnergyProvider, internal distribution is left entirely to the IEnergyProvider.
|
* Remove energy from an IEnergyProvider, internal distribution is left entirely to the IEnergyProvider.
|
||||||
*
|
*
|
||||||
* @param from
|
* @param from Orientation the energy is extracted from.
|
||||||
* Orientation the energy is extracted from.
|
* @param maxExtract Maximum amount of energy to extract.
|
||||||
* @param maxExtract
|
* @param simulate If TRUE, the extraction will only be simulated.
|
||||||
* Maximum amount of energy to extract.
|
* @return Amount of energy that was (or would have been, if simulated) extracted.
|
||||||
* @param simulate
|
*/
|
||||||
* If TRUE, the extraction will only be simulated.
|
int extractEnergy(EnumFacing from, int maxExtract, boolean simulate);
|
||||||
* @return Amount of energy that was (or would have been, if simulated) extracted.
|
|
||||||
*/
|
|
||||||
int extractEnergy(EnumFacing from, int maxExtract, boolean simulate);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -9,21 +9,17 @@ import net.minecraft.util.EnumFacing;
|
|||||||
* A reference implementation is provided {@link TileEnergyHandler}.
|
* A reference implementation is provided {@link TileEnergyHandler}.
|
||||||
*
|
*
|
||||||
* @author King Lemming
|
* @author King Lemming
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public interface IEnergyReceiver extends IEnergyHandler {
|
public interface IEnergyReceiver extends IEnergyHandler {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add energy to an IEnergyReceiver, internal distribution is left entirely to the IEnergyReceiver.
|
* Add energy to an IEnergyReceiver, internal distribution is left entirely to the IEnergyReceiver.
|
||||||
*
|
*
|
||||||
* @param from
|
* @param from Orientation the energy is received from.
|
||||||
* Orientation the energy is received from.
|
* @param maxReceive Maximum amount of energy to receive.
|
||||||
* @param maxReceive
|
* @param simulate If TRUE, the charge will only be simulated.
|
||||||
* Maximum amount of energy to receive.
|
* @return Amount of energy that was (or would have been, if simulated) received.
|
||||||
* @param simulate
|
*/
|
||||||
* If TRUE, the charge will only be simulated.
|
int receiveEnergy(EnumFacing from, int maxReceive, boolean simulate);
|
||||||
* @return Amount of energy that was (or would have been, if simulated) received.
|
|
||||||
*/
|
|
||||||
int receiveEnergy(EnumFacing from, int maxReceive, boolean simulate);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -7,40 +7,35 @@ package cofh.api.energy;
|
|||||||
* A reference implementation can be found at {@link EnergyStorage}.
|
* A reference implementation can be found at {@link EnergyStorage}.
|
||||||
*
|
*
|
||||||
* @author King Lemming
|
* @author King Lemming
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public interface IEnergyStorage {
|
public interface IEnergyStorage {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds energy to the storage. Returns quantity of energy that was accepted.
|
* Adds energy to the storage. Returns quantity of energy that was accepted.
|
||||||
*
|
*
|
||||||
* @param maxReceive
|
* @param maxReceive Maximum amount of energy to be inserted.
|
||||||
* Maximum amount of energy to be inserted.
|
* @param simulate If TRUE, the insertion will only be simulated.
|
||||||
* @param simulate
|
* @return Amount of energy that was (or would have been, if simulated) accepted by the storage.
|
||||||
* If TRUE, the insertion will only be simulated.
|
*/
|
||||||
* @return Amount of energy that was (or would have been, if simulated) accepted by the storage.
|
int receiveEnergy(int maxReceive, boolean simulate);
|
||||||
*/
|
|
||||||
int receiveEnergy(int maxReceive, boolean simulate);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes energy from the storage. Returns quantity of energy that was removed.
|
* Removes energy from the storage. Returns quantity of energy that was removed.
|
||||||
*
|
*
|
||||||
* @param maxExtract
|
* @param maxExtract Maximum amount of energy to be extracted.
|
||||||
* Maximum amount of energy to be extracted.
|
* @param simulate If TRUE, the extraction will only be simulated.
|
||||||
* @param simulate
|
* @return Amount of energy that was (or would have been, if simulated) extracted from the storage.
|
||||||
* If TRUE, the extraction will only be simulated.
|
*/
|
||||||
* @return Amount of energy that was (or would have been, if simulated) extracted from the storage.
|
int extractEnergy(int maxExtract, boolean simulate);
|
||||||
*/
|
|
||||||
int extractEnergy(int maxExtract, boolean simulate);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the amount of energy currently stored.
|
* Returns the amount of energy currently stored.
|
||||||
*/
|
*/
|
||||||
int getEnergyStored();
|
int getEnergyStored();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the maximum amount of energy that can be stored.
|
* Returns the maximum amount of energy that can be stored.
|
||||||
*/
|
*/
|
||||||
int getMaxEnergyStored();
|
int getMaxEnergyStored();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -8,106 +8,105 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||||||
* Reference implementation of {@link IEnergyContainerItem}. Use/extend this or implement your own.
|
* Reference implementation of {@link IEnergyContainerItem}. Use/extend this or implement your own.
|
||||||
*
|
*
|
||||||
* @author King Lemming
|
* @author King Lemming
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class ItemEnergyContainer extends Item implements IEnergyContainerItem {
|
public class ItemEnergyContainer extends Item implements IEnergyContainerItem {
|
||||||
|
|
||||||
protected int capacity;
|
protected int capacity;
|
||||||
protected int maxReceive;
|
protected int maxReceive;
|
||||||
protected int maxExtract;
|
protected int maxExtract;
|
||||||
|
|
||||||
public ItemEnergyContainer() {
|
public ItemEnergyContainer() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemEnergyContainer(int capacity) {
|
public ItemEnergyContainer(int capacity) {
|
||||||
|
|
||||||
this(capacity, capacity, capacity);
|
this(capacity, capacity, capacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemEnergyContainer(int capacity, int maxTransfer) {
|
public ItemEnergyContainer(int capacity, int maxTransfer) {
|
||||||
|
|
||||||
this(capacity, maxTransfer, maxTransfer);
|
this(capacity, maxTransfer, maxTransfer);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemEnergyContainer(int capacity, int maxReceive, int maxExtract) {
|
public ItemEnergyContainer(int capacity, int maxReceive, int maxExtract) {
|
||||||
|
|
||||||
this.capacity = capacity;
|
this.capacity = capacity;
|
||||||
this.maxReceive = maxReceive;
|
this.maxReceive = maxReceive;
|
||||||
this.maxExtract = maxExtract;
|
this.maxExtract = maxExtract;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemEnergyContainer setCapacity(int capacity) {
|
public ItemEnergyContainer setCapacity(int capacity) {
|
||||||
|
|
||||||
this.capacity = capacity;
|
this.capacity = capacity;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemEnergyContainer setMaxTransfer(int maxTransfer) {
|
public ItemEnergyContainer setMaxTransfer(int maxTransfer) {
|
||||||
|
|
||||||
setMaxReceive(maxTransfer);
|
setMaxReceive(maxTransfer);
|
||||||
setMaxExtract(maxTransfer);
|
setMaxExtract(maxTransfer);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemEnergyContainer setMaxReceive(int maxReceive) {
|
public ItemEnergyContainer setMaxReceive(int maxReceive) {
|
||||||
|
|
||||||
this.maxReceive = maxReceive;
|
this.maxReceive = maxReceive;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemEnergyContainer setMaxExtract(int maxExtract) {
|
public ItemEnergyContainer setMaxExtract(int maxExtract) {
|
||||||
|
|
||||||
this.maxExtract = maxExtract;
|
this.maxExtract = maxExtract;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IEnergyContainerItem */
|
/* IEnergyContainerItem */
|
||||||
@Override
|
@Override
|
||||||
public int receiveEnergy(ItemStack container, int maxReceive, boolean simulate) {
|
public int receiveEnergy(ItemStack container, int maxReceive, boolean simulate) {
|
||||||
|
|
||||||
if (!container.hasTagCompound()) {
|
if (!container.hasTagCompound()) {
|
||||||
container.setTagCompound(new NBTTagCompound());
|
container.setTagCompound(new NBTTagCompound());
|
||||||
}
|
}
|
||||||
int energy = container.getTagCompound().getInteger("Energy");
|
int energy = container.getTagCompound().getInteger("Energy");
|
||||||
int energyReceived = Math.min(capacity - energy, Math.min(this.maxReceive, maxReceive));
|
int energyReceived = Math.min(capacity - energy, Math.min(this.maxReceive, maxReceive));
|
||||||
|
|
||||||
if (!simulate) {
|
if (!simulate) {
|
||||||
energy += energyReceived;
|
energy += energyReceived;
|
||||||
container.getTagCompound().setInteger("Energy", energy);
|
container.getTagCompound().setInteger("Energy", energy);
|
||||||
}
|
}
|
||||||
return energyReceived;
|
return energyReceived;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int extractEnergy(ItemStack container, int maxExtract, boolean simulate) {
|
public int extractEnergy(ItemStack container, int maxExtract, boolean simulate) {
|
||||||
|
|
||||||
if (container.getTagCompound() == null || !container.getTagCompound().hasKey("Energy")) {
|
if (container.getTagCompound() == null || !container.getTagCompound().hasKey("Energy")) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
int energy = container.getTagCompound().getInteger("Energy");
|
int energy = container.getTagCompound().getInteger("Energy");
|
||||||
int energyExtracted = Math.min(energy, Math.min(this.maxExtract, maxExtract));
|
int energyExtracted = Math.min(energy, Math.min(this.maxExtract, maxExtract));
|
||||||
|
|
||||||
if (!simulate) {
|
if (!simulate) {
|
||||||
energy -= energyExtracted;
|
energy -= energyExtracted;
|
||||||
container.getTagCompound().setInteger("Energy", energy);
|
container.getTagCompound().setInteger("Energy", energy);
|
||||||
}
|
}
|
||||||
return energyExtracted;
|
return energyExtracted;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getEnergyStored(ItemStack container) {
|
public int getEnergyStored(ItemStack container) {
|
||||||
|
|
||||||
if (container.getTagCompound() == null || !container.getTagCompound().hasKey("Energy")) {
|
if (container.getTagCompound() == null || !container.getTagCompound().hasKey("Energy")) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return container.getTagCompound().getInteger("Energy");
|
return container.getTagCompound().getInteger("Energy");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMaxEnergyStored(ItemStack container) {
|
public int getMaxEnergyStored(ItemStack container) {
|
||||||
|
|
||||||
return capacity;
|
return capacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -6,62 +6,61 @@ import net.minecraft.util.EnumFacing;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Reference implementation of {@link IEnergyReceiver} and {@link IEnergyProvider}. Use/extend this or implement your own.
|
* Reference implementation of {@link IEnergyReceiver} and {@link IEnergyProvider}. Use/extend this or implement your own.
|
||||||
*
|
* <p>
|
||||||
* This class is really meant to summarize how each interface is properly used.
|
* This class is really meant to summarize how each interface is properly used.
|
||||||
*
|
*
|
||||||
* @author King Lemming
|
* @author King Lemming
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class TileEnergyHandler extends TileEntity implements IEnergyReceiver, IEnergyProvider {
|
public class TileEnergyHandler extends TileEntity implements IEnergyReceiver, IEnergyProvider {
|
||||||
|
|
||||||
protected EnergyStorage storage = new EnergyStorage(32000);
|
protected EnergyStorage storage = new EnergyStorage(32000);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void readFromNBT(NBTTagCompound nbt) {
|
public void readFromNBT(NBTTagCompound nbt) {
|
||||||
|
|
||||||
super.readFromNBT(nbt);
|
super.readFromNBT(nbt);
|
||||||
storage.readFromNBT(nbt);
|
storage.readFromNBT(nbt);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeToNBT(NBTTagCompound nbt) {
|
public void writeToNBT(NBTTagCompound nbt) {
|
||||||
|
|
||||||
super.writeToNBT(nbt);
|
super.writeToNBT(nbt);
|
||||||
storage.writeToNBT(nbt);
|
storage.writeToNBT(nbt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IEnergyConnection */
|
/* IEnergyConnection */
|
||||||
@Override
|
@Override
|
||||||
public boolean canConnectEnergy(EnumFacing from) {
|
public boolean canConnectEnergy(EnumFacing from) {
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IEnergyReceiver */
|
/* IEnergyReceiver */
|
||||||
@Override
|
@Override
|
||||||
public int receiveEnergy(EnumFacing from, int maxReceive, boolean simulate) {
|
public int receiveEnergy(EnumFacing from, int maxReceive, boolean simulate) {
|
||||||
|
|
||||||
return storage.receiveEnergy(maxReceive, simulate);
|
return storage.receiveEnergy(maxReceive, simulate);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IEnergyProvider */
|
/* IEnergyProvider */
|
||||||
@Override
|
@Override
|
||||||
public int extractEnergy(EnumFacing from, int maxExtract, boolean simulate) {
|
public int extractEnergy(EnumFacing from, int maxExtract, boolean simulate) {
|
||||||
|
|
||||||
return storage.extractEnergy(maxExtract, simulate);
|
return storage.extractEnergy(maxExtract, simulate);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IEnergyHandler */
|
/* IEnergyHandler */
|
||||||
@Override
|
@Override
|
||||||
public int getEnergyStored(EnumFacing from) {
|
public int getEnergyStored(EnumFacing from) {
|
||||||
|
|
||||||
return storage.getEnergyStored();
|
return storage.getEnergyStored();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMaxEnergyStored(EnumFacing from) {
|
public int getMaxEnergyStored(EnumFacing from) {
|
||||||
|
|
||||||
return storage.getMaxEnergyStored();
|
return storage.getMaxEnergyStored();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -5,6 +5,6 @@
|
|||||||
@API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|energy")
|
@API(apiVersion = CoFHAPIProps.VERSION, owner = "CoFHAPI", provides = "CoFHAPI|energy")
|
||||||
package cofh.api.energy;
|
package cofh.api.energy;
|
||||||
|
|
||||||
import net.minecraftforge.fml.common.API;
|
|
||||||
import cofh.api.CoFHAPIProps;
|
import cofh.api.CoFHAPIProps;
|
||||||
|
import net.minecraftforge.fml.common.API;
|
||||||
|
|
||||||
|
@@ -2,8 +2,7 @@ package powercrystals.minefactoryreloaded.api;
|
|||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
|
||||||
public interface IDeepStorageUnit
|
public interface IDeepStorageUnit {
|
||||||
{
|
|
||||||
/**
|
/**
|
||||||
* @return A populated ItemStack with stackSize for the full amount of materials in the DSU. May have a stackSize > getMaxStackSize().
|
* @return A populated ItemStack with stackSize for the full amount of materials in the DSU. May have a stackSize > getMaxStackSize().
|
||||||
*/
|
*/
|
||||||
|
@@ -6,6 +6,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import refinedstorage.RefinedStorage;
|
import refinedstorage.RefinedStorage;
|
||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
@@ -22,7 +23,7 @@ public class BlockConstructor extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.CONSTRUCTOR, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.CONSTRUCTOR, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -6,6 +6,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import refinedstorage.RefinedStorage;
|
import refinedstorage.RefinedStorage;
|
||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
@@ -22,7 +23,7 @@ public class BlockDestructor extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.DESTRUCTOR, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.DESTRUCTOR, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -66,7 +66,7 @@ public class BlockDetector extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.DETECTOR, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.DETECTOR, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -6,6 +6,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import refinedstorage.RefinedStorage;
|
import refinedstorage.RefinedStorage;
|
||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
@@ -22,7 +23,7 @@ public class BlockDiskDrive extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.DISK_DRIVE, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.DISK_DRIVE, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -6,6 +6,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import refinedstorage.RefinedStorage;
|
import refinedstorage.RefinedStorage;
|
||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
@@ -22,7 +23,7 @@ public class BlockExporter extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.EXPORTER, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.EXPORTER, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -6,6 +6,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import refinedstorage.RefinedStorage;
|
import refinedstorage.RefinedStorage;
|
||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
@@ -22,7 +23,7 @@ public class BlockExternalStorage extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.STORAGE, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.STORAGE, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -6,6 +6,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import refinedstorage.RefinedStorage;
|
import refinedstorage.RefinedStorage;
|
||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
@@ -22,7 +23,7 @@ public class BlockImporter extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.IMPORTER, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.IMPORTER, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -6,6 +6,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import refinedstorage.RefinedStorage;
|
import refinedstorage.RefinedStorage;
|
||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
@@ -22,7 +23,7 @@ public class BlockInterface extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.INTERFACE, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.INTERFACE, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -6,6 +6,7 @@ import net.minecraft.item.ItemStack;
|
|||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import refinedstorage.RefinedStorage;
|
import refinedstorage.RefinedStorage;
|
||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
@@ -22,7 +23,7 @@ public class BlockSolderer extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.SOLDERER, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.SOLDERER, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -65,7 +65,7 @@ public class BlockStorage extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.STORAGE, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.STORAGE, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -45,7 +45,7 @@ public class BlockWirelessTransmitter extends BlockMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, net.minecraft.util.math.BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (!world.isRemote) {
|
if (!world.isRemote) {
|
||||||
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.WIRELESS_TRANSMITTER, world, pos.getX(), pos.getY(), pos.getZ());
|
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.WIRELESS_TRANSMITTER, world, pos.getX(), pos.getY(), pos.getZ());
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
package refinedstorage.gui;
|
package refinedstorage.gui;
|
||||||
|
|
||||||
import net.minecraft.inventory.Container;
|
|
||||||
import refinedstorage.container.ContainerSolderer;
|
import refinedstorage.container.ContainerSolderer;
|
||||||
import refinedstorage.gui.sidebutton.SideButtonRedstoneMode;
|
import refinedstorage.gui.sidebutton.SideButtonRedstoneMode;
|
||||||
import refinedstorage.tile.TileSolderer;
|
import refinedstorage.tile.TileSolderer;
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
package refinedstorage.gui;
|
package refinedstorage.gui;
|
||||||
|
|
||||||
import net.minecraft.inventory.Container;
|
|
||||||
import refinedstorage.container.ContainerWirelessTransmitter;
|
import refinedstorage.container.ContainerWirelessTransmitter;
|
||||||
import refinedstorage.gui.sidebutton.SideButtonRedstoneMode;
|
import refinedstorage.gui.sidebutton.SideButtonRedstoneMode;
|
||||||
import refinedstorage.tile.TileWirelessTransmitter;
|
import refinedstorage.tile.TileWirelessTransmitter;
|
||||||
|
@@ -21,6 +21,7 @@ import refinedstorage.network.*;
|
|||||||
import refinedstorage.storage.NBTStorage;
|
import refinedstorage.storage.NBTStorage;
|
||||||
import refinedstorage.tile.*;
|
import refinedstorage.tile.*;
|
||||||
import refinedstorage.tile.solderer.*;
|
import refinedstorage.tile.solderer.*;
|
||||||
|
|
||||||
import static refinedstorage.RefinedStorage.ID;
|
import static refinedstorage.RefinedStorage.ID;
|
||||||
|
|
||||||
public class CommonProxy {
|
public class CommonProxy {
|
||||||
|
@@ -1,73 +1,75 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/cable",
|
"all": "refinedstorage:blocks/cable",
|
||||||
"particle": "refinedstorage:blocks/cable"
|
"particle": "refinedstorage:blocks/cable"
|
||||||
},
|
},
|
||||||
"model": "refinedstorage:cable_core",
|
"model": "refinedstorage:cable_core",
|
||||||
"uvlock": true
|
"uvlock": true
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [{
|
"inventory": [
|
||||||
"model": "refinedstorage:cable",
|
{
|
||||||
"transform": "forge:default-block"
|
"model": "refinedstorage:cable",
|
||||||
}],
|
"transform": "forge:default-block"
|
||||||
"north": {
|
}
|
||||||
"true": {
|
],
|
||||||
"submodel": "refinedstorage:cable_north"
|
"north": {
|
||||||
},
|
"true": {
|
||||||
"false": {
|
"submodel": "refinedstorage:cable_north"
|
||||||
}
|
},
|
||||||
},
|
"false": {
|
||||||
"east": {
|
}
|
||||||
"true": {
|
},
|
||||||
"submodel": "refinedstorage:cable_east"
|
"east": {
|
||||||
},
|
"true": {
|
||||||
"false": {
|
"submodel": "refinedstorage:cable_east"
|
||||||
}
|
},
|
||||||
},
|
"false": {
|
||||||
"south": {
|
}
|
||||||
"true": {
|
},
|
||||||
"submodel": "refinedstorage:cable_south"
|
"south": {
|
||||||
},
|
"true": {
|
||||||
"false": {
|
"submodel": "refinedstorage:cable_south"
|
||||||
}
|
},
|
||||||
},
|
"false": {
|
||||||
"west": {
|
}
|
||||||
"true": {
|
},
|
||||||
"submodel": "refinedstorage:cable_west"
|
"west": {
|
||||||
},
|
"true": {
|
||||||
"false": {
|
"submodel": "refinedstorage:cable_west"
|
||||||
}
|
},
|
||||||
},
|
"false": {
|
||||||
"up": {
|
}
|
||||||
"true": {
|
},
|
||||||
"submodel": "refinedstorage:cable_up"
|
"up": {
|
||||||
},
|
"true": {
|
||||||
"false": {
|
"submodel": "refinedstorage:cable_up"
|
||||||
}
|
},
|
||||||
},
|
"false": {
|
||||||
"down": {
|
}
|
||||||
"true": {
|
},
|
||||||
"submodel": "refinedstorage:cable_down"
|
"down": {
|
||||||
},
|
"true": {
|
||||||
"false": {
|
"submodel": "refinedstorage:cable_down"
|
||||||
}
|
},
|
||||||
},
|
"false": {
|
||||||
"direction": {
|
}
|
||||||
"north": {
|
},
|
||||||
},
|
"direction": {
|
||||||
"east": {
|
"north": {
|
||||||
},
|
},
|
||||||
"south": {
|
"east": {
|
||||||
},
|
},
|
||||||
"west": {
|
"south": {
|
||||||
},
|
},
|
||||||
"up": {
|
"west": {
|
||||||
},
|
},
|
||||||
"down": {
|
"up": {
|
||||||
}
|
},
|
||||||
}
|
"down": {
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@@ -1,53 +1,53 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side"
|
"top": "refinedstorage:blocks/side"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"transform": "forge:default-block",
|
"transform": "forge:default-block",
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/constructor_disconnected"
|
"front": "refinedstorage:blocks/constructor_disconnected"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/constructor_connected"
|
"front": "refinedstorage:blocks/constructor_connected"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/constructor_disconnected"
|
"front": "refinedstorage:blocks/constructor_disconnected"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,92 +1,92 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side",
|
"top": "refinedstorage:blocks/side",
|
||||||
"front": "refinedstorage:blocks/controller_0"
|
"front": "refinedstorage:blocks/controller_0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"energy": {
|
"energy": {
|
||||||
"0": {
|
"0": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/controller_0"
|
"front": "refinedstorage:blocks/controller_0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"1": {
|
"1": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/controller_1"
|
"front": "refinedstorage:blocks/controller_1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"2": {
|
"2": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/controller_2"
|
"front": "refinedstorage:blocks/controller_2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"3": {
|
"3": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/controller_3"
|
"front": "refinedstorage:blocks/controller_3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"4": {
|
"4": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/controller_4"
|
"front": "refinedstorage:blocks/controller_4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"5": {
|
"5": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/controller_5"
|
"front": "refinedstorage:blocks/controller_5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"6": {
|
"6": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/controller_6"
|
"front": "refinedstorage:blocks/controller_6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"7": {
|
"7": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/controller_7"
|
"front": "refinedstorage:blocks/controller_7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"8": {
|
"8": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/controller_8"
|
"front": "refinedstorage:blocks/controller_8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"normal": {
|
"normal": {
|
||||||
},
|
},
|
||||||
"creative": {
|
"creative": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,53 +1,53 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side"
|
"top": "refinedstorage:blocks/side"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"transform": "forge:default-block",
|
"transform": "forge:default-block",
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/destructor_disconnected"
|
"front": "refinedstorage:blocks/destructor_disconnected"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/destructor_connected"
|
"front": "refinedstorage:blocks/destructor_connected"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/destructor_disconnected"
|
"front": "refinedstorage:blocks/destructor_disconnected"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,54 +1,54 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side",
|
"top": "refinedstorage:blocks/side",
|
||||||
"front": "refinedstorage:blocks/detector_unpowered"
|
"front": "refinedstorage:blocks/detector_unpowered"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"powered": {
|
"powered": {
|
||||||
"true": {
|
"true": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/detector_powered"
|
"front": "refinedstorage:blocks/detector_powered"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side",
|
"top": "refinedstorage:blocks/side",
|
||||||
"front": "refinedstorage:blocks/disk_drive"
|
"front": "refinedstorage:blocks/disk_drive"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"transform": "forge:default-block",
|
"transform": "forge:default-block",
|
||||||
"y": 0
|
"y": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side",
|
"top": "refinedstorage:blocks/side",
|
||||||
"front": "refinedstorage:blocks/exporter"
|
"front": "refinedstorage:blocks/exporter"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side",
|
"top": "refinedstorage:blocks/side",
|
||||||
"front": "refinedstorage:blocks/external_storage"
|
"front": "refinedstorage:blocks/external_storage"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,59 +1,59 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side"
|
"top": "refinedstorage:blocks/side"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/grid_disconnected"
|
"front": "refinedstorage:blocks/grid_disconnected"
|
||||||
},
|
},
|
||||||
"transform": "forge:default-block",
|
"transform": "forge:default-block",
|
||||||
"y": 0
|
"y": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": {
|
"type": {
|
||||||
"normal": {
|
"normal": {
|
||||||
},
|
},
|
||||||
"crafting": {
|
"crafting": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/grid_connected"
|
"front": "refinedstorage:blocks/grid_connected"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/grid_disconnected"
|
"front": "refinedstorage:blocks/grid_disconnected"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side",
|
"top": "refinedstorage:blocks/side",
|
||||||
"front": "refinedstorage:blocks/importer"
|
"front": "refinedstorage:blocks/importer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,36 +1,36 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "cube_all",
|
"model": "cube_all",
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/interface"
|
"all": "refinedstorage:blocks/interface"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,30 +1,30 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "cube_all",
|
"model": "cube_all",
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/side"
|
"all": "refinedstorage:blocks/side"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,39 +1,39 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "cube_all",
|
"model": "cube_all",
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/relay_connected"
|
"all": "refinedstorage:blocks/relay_connected"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/relay_disconnected"
|
"all": "refinedstorage:blocks/relay_disconnected"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,53 +1,53 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/side",
|
"side": "refinedstorage:blocks/side",
|
||||||
"top": "refinedstorage:blocks/side"
|
"top": "refinedstorage:blocks/side"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/solderer_disconnected"
|
"front": "refinedstorage:blocks/solderer_disconnected"
|
||||||
},
|
},
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/solderer_connected"
|
"front": "refinedstorage:blocks/solderer_connected"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"front": "refinedstorage:blocks/solderer_disconnected"
|
"front": "refinedstorage:blocks/solderer_disconnected"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,36 +1,36 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "cube_all",
|
"model": "cube_all",
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"type": {
|
"type": {
|
||||||
"1k": {
|
"1k": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/1k_storage_block"
|
"all": "refinedstorage:blocks/1k_storage_block"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"4k": {
|
"4k": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/4k_storage_block"
|
"all": "refinedstorage:blocks/4k_storage_block"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"16k": {
|
"16k": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/16k_storage_block"
|
"all": "refinedstorage:blocks/16k_storage_block"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"64k": {
|
"64k": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/64k_storage_block"
|
"all": "refinedstorage:blocks/64k_storage_block"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"creative": {
|
"creative": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"all": "refinedstorage:blocks/creative_storage_block"
|
"all": "refinedstorage:blocks/creative_storage_block"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,56 +1,56 @@
|
|||||||
{
|
{
|
||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"model": "orientable",
|
"model": "orientable",
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/wireless_transmitter_side",
|
"side": "refinedstorage:blocks/wireless_transmitter_side",
|
||||||
"top": "refinedstorage:blocks/wireless_transmitter_side",
|
"top": "refinedstorage:blocks/wireless_transmitter_side",
|
||||||
"front": "refinedstorage:blocks/wireless_transmitter"
|
"front": "refinedstorage:blocks/wireless_transmitter"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variants": {
|
"variants": {
|
||||||
"inventory": [
|
"inventory": [
|
||||||
{
|
{
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"transform": "forge:default-block"
|
"transform": "forge:default-block"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connected": {
|
"connected": {
|
||||||
"true": {
|
"true": {
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"direction": {
|
"direction": {
|
||||||
"north": {
|
"north": {
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"x": 270
|
"x": 270
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"x": 90
|
"x": 90
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"working": {
|
"working": {
|
||||||
"true": {
|
"true": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"side": "refinedstorage:blocks/wireless_transmitter_side_working",
|
"side": "refinedstorage:blocks/wireless_transmitter_side_working",
|
||||||
"top": "refinedstorage:blocks/wireless_transmitter_side_working",
|
"top": "refinedstorage:blocks/wireless_transmitter_side_working",
|
||||||
"front": "refinedstorage:blocks/wireless_transmitter_working"
|
"front": "refinedstorage:blocks/wireless_transmitter_working"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,98 +1,212 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
"name": "Core",
|
"name": "Core",
|
||||||
"from": [6.0, 6.0, 6.0],
|
"from": [
|
||||||
"to": [10.0, 10.0, 10.0],
|
6.0,
|
||||||
"faces": {
|
6.0,
|
||||||
"north": {
|
6.0
|
||||||
"texture": "#all",
|
],
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
"to": [
|
||||||
},
|
10.0,
|
||||||
"east": {
|
10.0,
|
||||||
"texture": "#all",
|
10.0
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
],
|
||||||
},
|
"faces": {
|
||||||
"south": {
|
"north": {
|
||||||
"texture": "#all",
|
"texture": "#all",
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
"uv": [
|
||||||
},
|
4.0,
|
||||||
"west": {
|
4.0,
|
||||||
"texture": "#all",
|
8.0,
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
8.0
|
||||||
},
|
]
|
||||||
"up": {
|
},
|
||||||
"texture": "#all",
|
"east": {
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
"texture": "#all",
|
||||||
},
|
"uv": [
|
||||||
"down": {
|
0.0,
|
||||||
"texture": "#all",
|
4.0,
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
4.0,
|
||||||
}
|
8.0
|
||||||
}
|
]
|
||||||
},
|
},
|
||||||
{
|
"south": {
|
||||||
"name": "East",
|
"texture": "#all",
|
||||||
"from": [10.0, 6.0, 6.0],
|
"uv": [
|
||||||
"to": [16.0, 10.0, 10.0],
|
12.0,
|
||||||
"faces": {
|
4.0,
|
||||||
"north": {
|
16.0,
|
||||||
"texture": "#all",
|
8.0
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
]
|
||||||
},
|
},
|
||||||
"east": {
|
"west": {
|
||||||
"texture": "#all",
|
"texture": "#all",
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
"uv": [
|
||||||
},
|
8.0,
|
||||||
"south": {
|
4.0,
|
||||||
"texture": "#all",
|
12.0,
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
8.0
|
||||||
},
|
]
|
||||||
"west": {
|
},
|
||||||
"texture": "#all",
|
"up": {
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
"texture": "#all",
|
||||||
},
|
"uv": [
|
||||||
"up": {
|
8.0,
|
||||||
"texture": "#all",
|
4.0,
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
4.0,
|
||||||
},
|
0.0
|
||||||
"down": {
|
]
|
||||||
"texture": "#all",
|
},
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
"down": {
|
||||||
}
|
"texture": "#all",
|
||||||
}
|
"uv": [
|
||||||
},
|
12.0,
|
||||||
{
|
0.0,
|
||||||
"name": "West",
|
8.0,
|
||||||
"from": [0.0, 6.0, 6.0],
|
4.0
|
||||||
"to": [6.0, 10.0, 10.0],
|
]
|
||||||
"faces": {
|
}
|
||||||
"north": {
|
}
|
||||||
"texture": "#all",
|
},
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
{
|
||||||
},
|
"name": "East",
|
||||||
"east": {
|
"from": [
|
||||||
"texture": "#all",
|
10.0,
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
6.0,
|
||||||
},
|
6.0
|
||||||
"south": {
|
],
|
||||||
"texture": "#all",
|
"to": [
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
16.0,
|
||||||
},
|
10.0,
|
||||||
"west": {
|
10.0
|
||||||
"texture": "#all",
|
],
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
"faces": {
|
||||||
},
|
"north": {
|
||||||
"up": {
|
"texture": "#all",
|
||||||
"texture": "#all",
|
"uv": [
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
4.0,
|
||||||
},
|
4.0,
|
||||||
"down": {
|
8.0,
|
||||||
"texture": "#all",
|
8.0
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
]
|
||||||
}
|
},
|
||||||
}
|
"east": {
|
||||||
}
|
"texture": "#all",
|
||||||
]
|
"uv": [
|
||||||
|
0.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"south": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
4.0,
|
||||||
|
16.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
12.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
0.0,
|
||||||
|
8.0,
|
||||||
|
4.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "West",
|
||||||
|
"from": [
|
||||||
|
0.0,
|
||||||
|
6.0,
|
||||||
|
6.0
|
||||||
|
],
|
||||||
|
"to": [
|
||||||
|
6.0,
|
||||||
|
10.0,
|
||||||
|
10.0
|
||||||
|
],
|
||||||
|
"faces": {
|
||||||
|
"north": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
8.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"east": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
0.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"south": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
4.0,
|
||||||
|
16.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
12.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
0.0,
|
||||||
|
8.0,
|
||||||
|
4.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@@ -1,36 +1,74 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
"name": "Core",
|
"name": "Core",
|
||||||
"from": [6.0, 6.0, 6.0],
|
"from": [
|
||||||
"to": [10.0, 10.0, 10.0],
|
6.0,
|
||||||
"faces": {
|
6.0,
|
||||||
"north": {
|
6.0
|
||||||
"texture": "#all",
|
],
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
"to": [
|
||||||
},
|
10.0,
|
||||||
"east": {
|
10.0,
|
||||||
"texture": "#all",
|
10.0
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
],
|
||||||
},
|
"faces": {
|
||||||
"south": {
|
"north": {
|
||||||
"texture": "#all",
|
"texture": "#all",
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
"uv": [
|
||||||
},
|
4.0,
|
||||||
"west": {
|
4.0,
|
||||||
"texture": "#all",
|
8.0,
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
8.0
|
||||||
},
|
]
|
||||||
"up": {
|
},
|
||||||
"texture": "#all",
|
"east": {
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
"texture": "#all",
|
||||||
},
|
"uv": [
|
||||||
"down": {
|
0.0,
|
||||||
"texture": "#all",
|
4.0,
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
4.0,
|
||||||
}
|
8.0
|
||||||
}
|
]
|
||||||
}
|
},
|
||||||
]
|
"south": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
4.0,
|
||||||
|
16.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
12.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
0.0,
|
||||||
|
8.0,
|
||||||
|
4.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@@ -1,36 +1,74 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
"name": "Down",
|
"name": "Down",
|
||||||
"from": [6.0, 0.0, 6.0],
|
"from": [
|
||||||
"to": [10.0, 6.0, 10.0],
|
6.0,
|
||||||
"faces": {
|
0.0,
|
||||||
"north": {
|
6.0
|
||||||
"texture": "#all",
|
],
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
"to": [
|
||||||
},
|
10.0,
|
||||||
"east": {
|
6.0,
|
||||||
"texture": "#all",
|
10.0
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
],
|
||||||
},
|
"faces": {
|
||||||
"south": {
|
"north": {
|
||||||
"texture": "#all",
|
"texture": "#all",
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
"uv": [
|
||||||
},
|
4.0,
|
||||||
"west": {
|
4.0,
|
||||||
"texture": "#all",
|
8.0,
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
8.0
|
||||||
},
|
]
|
||||||
"up": {
|
},
|
||||||
"texture": "#all",
|
"east": {
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
"texture": "#all",
|
||||||
},
|
"uv": [
|
||||||
"down": {
|
0.0,
|
||||||
"texture": "#all",
|
4.0,
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
4.0,
|
||||||
}
|
8.0
|
||||||
}
|
]
|
||||||
}
|
},
|
||||||
]
|
"south": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
4.0,
|
||||||
|
16.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
12.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
0.0,
|
||||||
|
8.0,
|
||||||
|
4.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@@ -1,36 +1,74 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
"name": "East",
|
"name": "East",
|
||||||
"from": [10.0, 6.0, 6.0],
|
"from": [
|
||||||
"to": [16.0, 10.0, 10.0],
|
10.0,
|
||||||
"faces": {
|
6.0,
|
||||||
"north": {
|
6.0
|
||||||
"texture": "#all",
|
],
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
"to": [
|
||||||
},
|
16.0,
|
||||||
"east": {
|
10.0,
|
||||||
"texture": "#all",
|
10.0
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
],
|
||||||
},
|
"faces": {
|
||||||
"south": {
|
"north": {
|
||||||
"texture": "#all",
|
"texture": "#all",
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
"uv": [
|
||||||
},
|
4.0,
|
||||||
"west": {
|
4.0,
|
||||||
"texture": "#all",
|
8.0,
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
8.0
|
||||||
},
|
]
|
||||||
"up": {
|
},
|
||||||
"texture": "#all",
|
"east": {
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
"texture": "#all",
|
||||||
},
|
"uv": [
|
||||||
"down": {
|
0.0,
|
||||||
"texture": "#all",
|
4.0,
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
4.0,
|
||||||
}
|
8.0
|
||||||
}
|
]
|
||||||
}
|
},
|
||||||
]
|
"south": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
4.0,
|
||||||
|
16.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
12.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
0.0,
|
||||||
|
8.0,
|
||||||
|
4.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@@ -1,36 +1,74 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
"name": "North",
|
"name": "North",
|
||||||
"from": [6.0, 6.0, 0.0],
|
"from": [
|
||||||
"to": [10.0, 10.0, 6.0],
|
6.0,
|
||||||
"faces": {
|
6.0,
|
||||||
"north": {
|
0.0
|
||||||
"texture": "#all",
|
],
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
"to": [
|
||||||
},
|
10.0,
|
||||||
"east": {
|
10.0,
|
||||||
"texture": "#all",
|
6.0
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
],
|
||||||
},
|
"faces": {
|
||||||
"south": {
|
"north": {
|
||||||
"texture": "#all",
|
"texture": "#all",
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
"uv": [
|
||||||
},
|
4.0,
|
||||||
"west": {
|
4.0,
|
||||||
"texture": "#all",
|
8.0,
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
8.0
|
||||||
},
|
]
|
||||||
"up": {
|
},
|
||||||
"texture": "#all",
|
"east": {
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
"texture": "#all",
|
||||||
},
|
"uv": [
|
||||||
"down": {
|
0.0,
|
||||||
"texture": "#all",
|
4.0,
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
4.0,
|
||||||
}
|
8.0
|
||||||
}
|
]
|
||||||
}
|
},
|
||||||
]
|
"south": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
4.0,
|
||||||
|
16.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
12.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
0.0,
|
||||||
|
8.0,
|
||||||
|
4.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@@ -1,36 +1,74 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
"name": "South",
|
"name": "South",
|
||||||
"from": [6.0, 6.0, 10.0],
|
"from": [
|
||||||
"to": [10.0, 10.0, 16.0],
|
6.0,
|
||||||
"faces": {
|
6.0,
|
||||||
"north": {
|
10.0
|
||||||
"texture": "#all",
|
],
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
"to": [
|
||||||
},
|
10.0,
|
||||||
"east": {
|
10.0,
|
||||||
"texture": "#all",
|
16.0
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
],
|
||||||
},
|
"faces": {
|
||||||
"south": {
|
"north": {
|
||||||
"texture": "#all",
|
"texture": "#all",
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
"uv": [
|
||||||
},
|
4.0,
|
||||||
"west": {
|
4.0,
|
||||||
"texture": "#all",
|
8.0,
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
8.0
|
||||||
},
|
]
|
||||||
"up": {
|
},
|
||||||
"texture": "#all",
|
"east": {
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
"texture": "#all",
|
||||||
},
|
"uv": [
|
||||||
"down": {
|
0.0,
|
||||||
"texture": "#all",
|
4.0,
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
4.0,
|
||||||
}
|
8.0
|
||||||
}
|
]
|
||||||
}
|
},
|
||||||
]
|
"south": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
4.0,
|
||||||
|
16.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
12.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
0.0,
|
||||||
|
8.0,
|
||||||
|
4.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@@ -1,36 +1,74 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
"name": "Up",
|
"name": "Up",
|
||||||
"from": [6.0, 10.0, 6.0],
|
"from": [
|
||||||
"to": [10.0, 16.0, 10.0],
|
6.0,
|
||||||
"faces": {
|
10.0,
|
||||||
"north": {
|
6.0
|
||||||
"texture": "#all",
|
],
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
"to": [
|
||||||
},
|
10.0,
|
||||||
"east": {
|
16.0,
|
||||||
"texture": "#all",
|
10.0
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
],
|
||||||
},
|
"faces": {
|
||||||
"south": {
|
"north": {
|
||||||
"texture": "#all",
|
"texture": "#all",
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
"uv": [
|
||||||
},
|
4.0,
|
||||||
"west": {
|
4.0,
|
||||||
"texture": "#all",
|
8.0,
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
8.0
|
||||||
},
|
]
|
||||||
"up": {
|
},
|
||||||
"texture": "#all",
|
"east": {
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
"texture": "#all",
|
||||||
},
|
"uv": [
|
||||||
"down": {
|
0.0,
|
||||||
"texture": "#all",
|
4.0,
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
4.0,
|
||||||
}
|
8.0
|
||||||
}
|
]
|
||||||
}
|
},
|
||||||
]
|
"south": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
4.0,
|
||||||
|
16.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
12.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
0.0,
|
||||||
|
8.0,
|
||||||
|
4.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@@ -1,36 +1,74 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
"name": "West",
|
"name": "West",
|
||||||
"from": [0.0, 6.0, 6.0],
|
"from": [
|
||||||
"to": [6.0, 10.0, 10.0],
|
0.0,
|
||||||
"faces": {
|
6.0,
|
||||||
"north": {
|
6.0
|
||||||
"texture": "#all",
|
],
|
||||||
"uv": [4.0, 4.0, 8.0, 8.0]
|
"to": [
|
||||||
},
|
6.0,
|
||||||
"east": {
|
10.0,
|
||||||
"texture": "#all",
|
10.0
|
||||||
"uv": [0.0, 4.0, 4.0, 8.0]
|
],
|
||||||
},
|
"faces": {
|
||||||
"south": {
|
"north": {
|
||||||
"texture": "#all",
|
"texture": "#all",
|
||||||
"uv": [12.0, 4.0, 16.0, 8.0]
|
"uv": [
|
||||||
},
|
4.0,
|
||||||
"west": {
|
4.0,
|
||||||
"texture": "#all",
|
8.0,
|
||||||
"uv": [8.0, 4.0, 12.0, 8.0]
|
8.0
|
||||||
},
|
]
|
||||||
"up": {
|
},
|
||||||
"texture": "#all",
|
"east": {
|
||||||
"uv": [8.0, 4.0, 4.0, 0.0]
|
"texture": "#all",
|
||||||
},
|
"uv": [
|
||||||
"down": {
|
0.0,
|
||||||
"texture": "#all",
|
4.0,
|
||||||
"uv": [12.0, 0.0, 8.0, 4.0]
|
4.0,
|
||||||
}
|
8.0
|
||||||
}
|
]
|
||||||
}
|
},
|
||||||
]
|
"south": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
4.0,
|
||||||
|
16.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
12.0,
|
||||||
|
8.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
8.0,
|
||||||
|
4.0,
|
||||||
|
4.0,
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#all",
|
||||||
|
"uv": [
|
||||||
|
12.0,
|
||||||
|
0.0,
|
||||||
|
8.0,
|
||||||
|
4.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/16k_storage_disk"
|
"layer0": "refinedstorage:items/16k_storage_disk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/16k_storage_part"
|
"layer0": "refinedstorage:items/16k_storage_part"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/1k_storage_disk"
|
"layer0": "refinedstorage:items/1k_storage_disk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/1k_storage_part"
|
"layer0": "refinedstorage:items/1k_storage_part"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/4k_storage_disk"
|
"layer0": "refinedstorage:items/4k_storage_disk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/4k_storage_part"
|
"layer0": "refinedstorage:items/4k_storage_part"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/64k_storage_disk"
|
"layer0": "refinedstorage:items/64k_storage_disk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/64k_storage_part"
|
"layer0": "refinedstorage:items/64k_storage_part"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/advanced_printed_processor"
|
"layer0": "refinedstorage:items/advanced_printed_processor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/advanced_processor"
|
"layer0": "refinedstorage:items/advanced_processor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/basic_printed_processor"
|
"layer0": "refinedstorage:items/basic_printed_processor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/basic_processor"
|
"layer0": "refinedstorage:items/basic_processor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/construction_core"
|
"layer0": "refinedstorage:items/construction_core"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/creative_storage_disk"
|
"layer0": "refinedstorage:items/creative_storage_disk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/destruction_core"
|
"layer0": "refinedstorage:items/destruction_core"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/improved_printed_processor"
|
"layer0": "refinedstorage:items/improved_printed_processor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/improved_processor"
|
"layer0": "refinedstorage:items/improved_processor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/printed_silicon"
|
"layer0": "refinedstorage:items/printed_silicon"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/quartz_enriched_iron"
|
"layer0": "refinedstorage:items/quartz_enriched_iron"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/silicon"
|
"layer0": "refinedstorage:items/silicon"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/wireless_grid_connected"
|
"layer0": "refinedstorage:items/wireless_grid_connected"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/wireless_grid_disconnected"
|
"layer0": "refinedstorage:items/wireless_grid_disconnected"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"parent": "item/generated",
|
"parent": "item/generated",
|
||||||
"textures": {
|
"textures": {
|
||||||
"layer0": "refinedstorage:items/wireless_grid_plate"
|
"layer0": "refinedstorage:items/wireless_grid_plate"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user