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 other) voidcopyDirt(ItemVisual other) voidcopyFrom(ItemVisual other) voidcopyHoles(ItemVisual other) voidcopyPatches(ItemVisual other) voidcopyVisualFrom(ItemVisual itemVisual1) static InventoryItemcreateLastStandItem(String saveStr) intgetBaseTexture(ClothingItem clothingItem) floatgetBasicPatch(BloodBodyPartType bodyPartType) intfloatgetBlood(BloodBodyPartType bodyPartType) voidgetClothingItemCombinedMask(CharacterMask in_out_mask) getDecal(ClothingItem clothingItem) floatgetDenimPatch(BloodBodyPartType bodyPartType) floatgetDirt(BloodBodyPartType bodyPartType) floatgetHole(BloodBodyPartType bodyPartType) intfloatgetHue()floatgetHue(ClothingItem clothingItem) floatgetLeatherPatch(BloodBodyPartType bodyPartType) intgetTextureChoice(ClothingItem clothingItem) getTint()getTint(ClothingItem clothingItem) floatvoidload(ByteBuffer input, int WorldVersion) voidpickUninitializedValues(ClothingItem clothingItem) voidvoidvoidremoveHole(int bodyPartIndex) voidremovePatch(int bodyPartIndex) voidsave(ByteBuffer output) voidsetAlternateModelName(String name) voidsetBaseTexture(int baseTexture) voidsetBasicPatch(BloodBodyPartType bodyPartType) voidsetBlood(BloodBodyPartType bodyPartType, float amount) voidsetClothingItemName(String name) voidvoidsetDenimPatch(BloodBodyPartType bodyPartType) voidsetDirt(BloodBodyPartType bodyPartType, float amount) voidsetHole(BloodBodyPartType bodyPartType) voidsetHue(float hue) voidsetInventoryItem(InventoryItem _inventoryItem) voidsetItemType(String fullType) voidsetLeatherPatch(BloodBodyPartType bodyPartType) voidsetTextureChoice(int TextureChoice) voidsetTint(ImmutableColor tint) voidsynchWithOutfit(ClothingItemReference itemRef) 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
-
copyVisualFrom
-
setHue
public void setHue(float hue) -
getHue
public float getHue() -
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 bodyPartIndex) -
removePatch
public void removePatch(int bodyPartIndex) -
removeBlood
public void removeBlood() -
removeDirt
public void removeDirt() -
getTotalBlood
public float getTotalBlood() -
getInventoryItem
-
setInventoryItem
-
setBaseTexture
public void setBaseTexture(int baseTexture) -
getBaseTexture
public int getBaseTexture() -
setTextureChoice
public void setTextureChoice(int TextureChoice) -
getTextureChoice
public int getTextureChoice() -
getLastStandString
-
createLastStandItem
-
getDescription
-