Package zombie.core.skinnedmodel.visual
Class HumanVisual
java.lang.Object
zombie.core.skinnedmodel.visual.BaseVisual
zombie.core.skinnedmodel.visual.HumanVisual
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddBodyVisual
(String string) addBodyVisualFromItemType
(String string) addClothingItem
(ItemVisuals itemVisuals, Item item) void
clear()
void
copyFrom
(BaseVisual baseVisual) void
dressInClothingItem
(String string, ItemVisuals itemVisuals) void
dressInClothingItem
(String string, ItemVisuals itemVisuals, boolean boolean1) void
dressInNamedOutfit
(String string, ItemVisuals itemVisuals) float
getBlood
(BloodBodyPartType bloodBodyPartType) int
float
getDirt
(BloodBodyPartType bloodBodyPartType) float
getHole
(BloodBodyPartType bloodBodyPartType) static CharacterMask
GetMask
(ItemVisuals itemVisuals) getModel()
int
float
boolean
hasBodyVisualFromItemType
(String string) boolean
isFemale()
boolean
boolean
isZombie()
float
lerp
(float float1, float float2, float float3) void
load
(ByteBuffer byteBuffer, int int1) boolean
loadLastStandString
(String string) int
void
void
void
removeBodyVisualFromItemType
(String string) void
void
save
(ByteBuffer byteBuffer) void
setBeardColor
(ImmutableColor immutableColor) void
setBeardModel
(String string) void
setBlood
(BloodBodyPartType bloodBodyPartType, float float1) void
setBodyHairIndex
(int int1) void
setDirt
(BloodBodyPartType bloodBodyPartType, float float1) void
setForceModel
(Model model) void
setForceModelScript
(String string) void
setHairColor
(ImmutableColor immutableColor) void
setHairModel
(String string) void
setHole
(BloodBodyPartType bloodBodyPartType) void
setNaturalBeardColor
(ImmutableColor immutableColor) void
setNaturalHairColor
(ImmutableColor immutableColor) void
setNonAttachedHair
(String string) void
void
setSkinColor
(ImmutableColor immutableColor) void
setSkinTextureIndex
(int int1) void
setSkinTextureName
(String string) void
synchWithOutfit
(Outfit outfit)
-
Field Details
-
zombieRotStage
public int zombieRotStage
-
-
Constructor Details
-
HumanVisual
-
-
Method Details
-
isFemale
public boolean isFemale() -
isZombie
public boolean isZombie() -
isSkeleton
public boolean isSkeleton() -
setSkinColor
-
getSkinColor
-
setBodyHairIndex
public void setBodyHairIndex(int int1) -
getBodyHairIndex
public int getBodyHairIndex() -
setSkinTextureIndex
public void setSkinTextureIndex(int int1) -
getSkinTextureIndex
public int getSkinTextureIndex() -
setSkinTextureName
-
lerp
public float lerp(float float1, float float2, float float3) -
pickRandomZombieRotStage
public int pickRandomZombieRotStage() -
getSkinTexture
-
setHairColor
-
getHairColor
-
setBeardColor
-
getBeardColor
-
setNaturalHairColor
-
getNaturalHairColor
-
setNaturalBeardColor
-
getNaturalBeardColor
-
setHairModel
-
getHairModel
-
setBeardModel
-
getBeardModel
-
setBlood
-
getBlood
-
setDirt
-
getDirt
-
setHole
-
getHole
-
removeBlood
public void removeBlood() -
removeDirt
public void removeDirt() -
randomBlood
public void randomBlood() -
randomDirt
public void randomDirt() -
getTotalBlood
public float getTotalBlood() -
clear
public void clear()- Specified by:
clear
in classBaseVisual
-
copyFrom
- Specified by:
copyFrom
in classBaseVisual
-
save
- Specified by:
save
in classBaseVisual
- Throws:
IOException
-
load
- Specified by:
load
in classBaseVisual
- Throws:
IOException
-
getModel
- Specified by:
getModel
in classBaseVisual
-
getModelScript
- Specified by:
getModelScript
in classBaseVisual
-
GetMask
-
synchWithOutfit
-
dressInNamedOutfit
- Specified by:
dressInNamedOutfit
in classBaseVisual
-
dressInClothingItem
-
dressInClothingItem
-
getBodyVisuals
-
addBodyVisual
-
addBodyVisualFromItemType
-
addBodyVisualFromClothingItemName
-
removeBodyVisualFromItemType
-
hasBodyVisualFromItemType
-
addClothingItem
-
getOutfit
-
setOutfit
-
getNonAttachedHair
-
setNonAttachedHair
-
setForceModel
-
setForceModelScript
-
getLastStandString
-
loadLastStandString
-