Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int x()
- {
- return xCoord;
- }
- public int y()
- {
- return yCoord;
- }
- public int z()
- {
- return zCoord;
- }
- public boolean isServer()
- {
- return !isClient();
- }
- public boolean isClient()
- {
- return getWorldObj().isRemote;
- }
- @Override
- public void readFromNBT(NBTTagCompound nbtTagCompound)
- {
- loadDataFromNBT(nbtTagCompound);
- }
- @Override
- public void writeToNBT(NBTTagCompound nbtTagCompound)
- {
- addDataToNBT(nbtTagCompound);
- }
- protected void addDataToNBT(NBTTagCompound nbtTagCompound)
- {
- }
- protected void loadDataFromNBT(NBTTagCompound nbtTagCompound)
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment