Package zombie.inventory.types
Class Clothing.ClothingPatch
java.lang.Object
zombie.inventory.types.Clothing.ClothingPatch
- Enclosing class:
- Clothing
public class Clothing.ClothingPatch
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description intbiteDefenseintconditionGainintfabricTypebooleanhasHoleintscratchDefenseinttailorLvl -
Constructor Summary
Constructors Constructor Description ClothingPatch()ClothingPatch(int int1, int int2, boolean boolean1) -
Method Summary
Modifier and Type Method Description intgetBiteDefense()intgetFabricType()java.lang.StringgetFabricTypeName()intgetScratchDefense()voidload(java.nio.ByteBuffer byteBuffer, int int1)voidload_old(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)Deprecated.voidsave(java.nio.ByteBuffer byteBuffer, boolean boolean1)voidsave_old(java.nio.ByteBuffer byteBuffer, boolean boolean1)Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
tailorLvl
public int tailorLvl -
fabricType
public int fabricType -
scratchDefense
public int scratchDefense -
biteDefense
public int biteDefense -
hasHole
public boolean hasHole -
conditionGain
public int conditionGain
-
-
Constructor Details
-
ClothingPatch
public ClothingPatch() -
ClothingPatch
public ClothingPatch(int int1, int int2, boolean boolean1)
-
-
Method Details
-
getFabricTypeName
public java.lang.String getFabricTypeName() -
getScratchDefense
public int getScratchDefense() -
getBiteDefense
public int getBiteDefense() -
getFabricType
public int getFabricType() -
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
save_old
@Deprecated public void save_old(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
load_old
@Deprecated public void load_old(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-