Package zombie.core.skinnedmodel.visual
Class ItemVisual
java.lang.Object
zombie.core.skinnedmodel.visual.ItemVisual
-
Field Summary
FieldsModifier and TypeFieldDescriptionintfloatintstatic final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidcopyBlood(ItemVisual itemVisual) voidcopyDirt(ItemVisual itemVisual) voidcopyFrom(ItemVisual itemVisual) voidcopyHoles(ItemVisual itemVisual) voidcopyPatches(ItemVisual itemVisual) static InventoryItemcreateLastStandItem(String string) intgetBaseTexture(ClothingItem clothingItem) floatgetBasicPatch(BloodBodyPartType bloodBodyPartType) intfloatgetBlood(BloodBodyPartType bloodBodyPartType) voidgetClothingItemCombinedMask(CharacterMask characterMask) getDecal(ClothingItem clothingItem) floatgetDenimPatch(BloodBodyPartType bloodBodyPartType) floatgetDirt(BloodBodyPartType bloodBodyPartType) floatgetHole(BloodBodyPartType bloodBodyPartType) intfloatgetHue(ClothingItem clothingItem) floatgetLeatherPatch(BloodBodyPartType bloodBodyPartType) intgetTextureChoice(ClothingItem clothingItem) getTint()getTint(ClothingItem clothingItem) floatvoidload(ByteBuffer byteBuffer, int int1) voidpickUninitializedValues(ClothingItem clothingItem) voidvoidvoidremoveHole(int int1) voidremovePatch(int int1) voidsave(ByteBuffer byteBuffer) voidsetAlternateModelName(String string) voidsetBaseTexture(int int1) voidsetBasicPatch(BloodBodyPartType bloodBodyPartType) voidsetBlood(BloodBodyPartType bloodBodyPartType, float float1) voidsetClothingItemName(String string) voidvoidsetDenimPatch(BloodBodyPartType bloodBodyPartType) voidsetDirt(BloodBodyPartType bloodBodyPartType, float float1) voidsetHole(BloodBodyPartType bloodBodyPartType) voidsetHue(float float1) voidsetInventoryItem(InventoryItem inventoryItem) voidsetItemType(String string) voidsetLeatherPatch(BloodBodyPartType bloodBodyPartType) voidsetTextureChoice(int int1) voidsetTint(ImmutableColor immutableColor) voidsynchWithOutfit(ClothingItemReference clothingItemReference) toString()
-
Field Details
-
NULL_HUE
public static final float NULL_HUE- See Also:
-
m_Hue
public float m_Hue -
m_Tint
-
m_BaseTexture
public int m_BaseTexture -
m_TextureChoice
public int m_TextureChoice -
m_Decal
-
-
Constructor Details
-
ItemVisual
public ItemVisual() -
ItemVisual
-
-
Method Details
-
setItemType
-
getItemType
-
setAlternateModelName
-
getAlternateModelName
-
toString
-
getClothingItemName
-
setClothingItemName
-
getScriptItem
-
getClothingItem
-
getClothingItemCombinedMask
-
setHue
public void setHue(float float1) -
getHue
-
setTint
-
getTint
-
getTint
-
getBaseTexture
-
getTextureChoice
-
setDecal
-
getDecal
-
pickUninitializedValues
-
synchWithOutfit
-
clear
public void clear() -
copyFrom
-
save
- Throws:
IOException
-
load
- Throws:
IOException
-
setDenimPatch
-
getDenimPatch
-
setLeatherPatch
-
getLeatherPatch
-
setBasicPatch
-
getBasicPatch
-
getBasicPatchesNumber
public int getBasicPatchesNumber() -
setHole
-
getHole
-
getHolesNumber
public int getHolesNumber() -
setBlood
-
getBlood
-
getDirt
-
setDirt
-
copyBlood
-
copyDirt
-
copyHoles
-
copyPatches
-
removeHole
public void removeHole(int int1) -
removePatch
public void removePatch(int int1) -
removeBlood
public void removeBlood() -
removeDirt
public void removeDirt() -
getTotalBlood
public float getTotalBlood() -
getInventoryItem
-
setInventoryItem
-
setBaseTexture
public void setBaseTexture(int int1) -
getBaseTexture
public int getBaseTexture() -
setTextureChoice
public void setTextureChoice(int int1) -
getTextureChoice
public int getTextureChoice() -
getLastStandString
-
createLastStandItem
-