Package zombie.world
Class ItemInfo
java.lang.Object
zombie.world.ItemInfo
public class ItemInfo
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected boolean
existsAsVanilla
protected java.lang.String
fullType
protected boolean
isLoaded
protected boolean
isModded
protected java.lang.String
itemName
protected java.lang.String
modID
protected java.util.List
modOverrides
protected java.lang.String
moduleName
protected boolean
obsolete
protected short
registryID
protected boolean
removed
protected Item
scriptItem
-
Constructor Summary
Constructors Constructor Description ItemInfo()
-
Method Summary
Modifier and Type Method Description ItemInfo
copy()
void
DebugPrint()
java.lang.String
GetDebugString()
java.lang.String
getFullType()
java.lang.String
getModID()
java.util.List
getModOverrides()
short
getRegistryID()
Item
getScriptItem()
boolean
isExistsAsVanilla()
boolean
isLoaded()
boolean
isModded()
boolean
isObsolete()
boolean
isRemoved()
boolean
isValid()
protected void
load(java.nio.ByteBuffer byteBuffer, int int1, java.util.List list, java.util.List list2)
protected void
save(java.nio.ByteBuffer byteBuffer, java.util.List list, java.util.List list2)
protected void
saveAsText(java.io.FileWriter fileWriter, java.lang.String string)
java.lang.String
ToString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
itemName
protected java.lang.String itemName -
moduleName
protected java.lang.String moduleName -
fullType
protected java.lang.String fullType -
registryID
protected short registryID -
existsAsVanilla
protected boolean existsAsVanilla -
isModded
protected boolean isModded -
modID
protected java.lang.String modID -
obsolete
protected boolean obsolete -
removed
protected boolean removed -
isLoaded
protected boolean isLoaded -
modOverrides
protected java.util.List modOverrides -
scriptItem
-
-
Constructor Details
-
ItemInfo
public ItemInfo()
-
-
Method Details
-
getFullType
public java.lang.String getFullType() -
getRegistryID
public short getRegistryID() -
isExistsAsVanilla
public boolean isExistsAsVanilla() -
isModded
public boolean isModded() -
getModID
public java.lang.String getModID() -
isObsolete
public boolean isObsolete() -
isRemoved
public boolean isRemoved() -
isLoaded
public boolean isLoaded() -
getScriptItem
-
getModOverrides
public java.util.List getModOverrides() -
copy
-
isValid
public boolean isValid() -
DebugPrint
public void DebugPrint() -
GetDebugString
public java.lang.String GetDebugString() -
ToString
public java.lang.String ToString() -
saveAsText
protected void saveAsText(java.io.FileWriter fileWriter, java.lang.String string) throws java.io.IOException- Throws:
java.io.IOException
-
save
protected void save(java.nio.ByteBuffer byteBuffer, java.util.List list, java.util.List list2) -
load
protected void load(java.nio.ByteBuffer byteBuffer, int int1, java.util.List list, java.util.List list2)
-