mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 14:19:49 +00:00
23 lines
592 B
Java
23 lines
592 B
Java
package noppes.npcs.blocks.tiles;
|
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
|
|
public class TileCouchWood extends TileVariant {
|
|
public boolean hasLeft = false;
|
|
public boolean hasRight = false;
|
|
|
|
|
|
public void readFromNBT(NBTTagCompound compound){
|
|
super.readFromNBT(compound);
|
|
hasLeft = compound.getBoolean("CouchLeft");
|
|
hasRight = compound.getBoolean("CouchRight");
|
|
}
|
|
|
|
public void writeToNBT(NBTTagCompound compound){
|
|
super.writeToNBT(compound);
|
|
compound.setBoolean("CouchLeft", hasLeft);
|
|
compound.setBoolean("CouchRight", hasRight);
|
|
}
|
|
}
|