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
    int biteDefense  
    int conditionGain  
    int fabricType  
    boolean hasHole  
    int scratchDefense  
    int tailorLvl  
  • Constructor Summary

    Constructors
    Constructor Description
    ClothingPatch()  
    ClothingPatch​(int int1, int int2, boolean boolean1)  
  • Method Summary

    Modifier and Type Method Description
    int getBiteDefense()  
    int getFabricType()  
    java.lang.String getFabricTypeName()  
    int getScratchDefense()  
    void load​(java.nio.ByteBuffer byteBuffer, int int1)  
    void load_old​(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
    Deprecated.
    void save​(java.nio.ByteBuffer byteBuffer, boolean boolean1)  
    void save_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.IOException
      Deprecated.
      Throws:
      java.io.IOException
    • load_old

      @Deprecated public void load_old​(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException
      Deprecated.
      Throws:
      java.io.IOException