Package zombie.core.skinnedmodel.visual
Class ItemVisual
java.lang.Object
zombie.core.skinnedmodel.visual.ItemVisual
-
Field Summary
Modifier and TypeFieldDescriptionint
float
int
static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
copyBlood
(ItemVisual itemVisual) void
copyDirt
(ItemVisual itemVisual) void
copyFrom
(ItemVisual itemVisual) void
copyHoles
(ItemVisual itemVisual) void
copyPatches
(ItemVisual itemVisual) static InventoryItem
createLastStandItem
(String string) int
getBaseTexture
(ClothingItem clothingItem) float
getBasicPatch
(BloodBodyPartType bloodBodyPartType) int
float
getBlood
(BloodBodyPartType bloodBodyPartType) void
getClothingItemCombinedMask
(CharacterMask characterMask) getDecal
(ClothingItem clothingItem) float
getDenimPatch
(BloodBodyPartType bloodBodyPartType) float
getDirt
(BloodBodyPartType bloodBodyPartType) float
getHole
(BloodBodyPartType bloodBodyPartType) int
float
getHue
(ClothingItem clothingItem) float
getLeatherPatch
(BloodBodyPartType bloodBodyPartType) int
getTextureChoice
(ClothingItem clothingItem) getTint()
getTint
(ClothingItem clothingItem) float
void
load
(ByteBuffer byteBuffer, int int1) void
pickUninitializedValues
(ClothingItem clothingItem) void
void
void
removeHole
(int int1) void
removePatch
(int int1) void
save
(ByteBuffer byteBuffer) void
setAlternateModelName
(String string) void
setBaseTexture
(int int1) void
setBasicPatch
(BloodBodyPartType bloodBodyPartType) void
setBlood
(BloodBodyPartType bloodBodyPartType, float float1) void
setClothingItemName
(String string) void
void
setDenimPatch
(BloodBodyPartType bloodBodyPartType) void
setDirt
(BloodBodyPartType bloodBodyPartType, float float1) void
setHole
(BloodBodyPartType bloodBodyPartType) void
setHue
(float float1) void
setInventoryItem
(InventoryItem inventoryItem) void
setItemType
(String string) void
setLeatherPatch
(BloodBodyPartType bloodBodyPartType) void
setTextureChoice
(int int1) void
setTint
(ImmutableColor immutableColor) void
synchWithOutfit
(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
-