Package zombie.core.skinnedmodel.visual
Class HumanVisual
java.lang.Object
zombie.core.skinnedmodel.visual.BaseVisual
zombie.core.skinnedmodel.visual.HumanVisual
public final class HumanVisual extends BaseVisual
-
Field Summary
Fields Modifier and Type Field Description int
zombieRotStage
-
Constructor Summary
Constructors Constructor Description HumanVisual(IHumanVisual iHumanVisual)
-
Method Summary
Modifier and Type Method Description ItemVisual
addBodyVisual(java.lang.String string)
ItemVisual
addClothingItem(ItemVisuals itemVisuals, Item item)
void
clear()
void
copyFrom(HumanVisual humanVisual)
ModelInstance
createModelInstance()
void
dressInClothingItem(java.lang.String string, ItemVisuals itemVisuals)
void
dressInClothingItem(java.lang.String string, ItemVisuals itemVisuals, boolean boolean1)
void
dressInNamedOutfit(java.lang.String string, ItemVisuals itemVisuals)
ImmutableColor
getBeardColor()
java.lang.String
getBeardModel()
float
getBlood(BloodBodyPartType bloodBodyPartType)
int
getBodyHairIndex()
ItemVisuals
getBodyVisuals()
float
getDirt(BloodBodyPartType bloodBodyPartType)
ImmutableColor
getHairColor()
java.lang.String
getHairModel()
float
getHole(BloodBodyPartType bloodBodyPartType)
java.lang.String
getLastStandString()
static CharacterMask
GetMask(ItemVisuals itemVisuals)
java.lang.String
getNonAttachedHair()
Outfit
getOutfit()
ImmutableColor
getSkinColor()
java.lang.String
getSkinTexture()
int
getSkinTextureIndex()
float
getTotalBlood()
boolean
isFemale()
boolean
isSkeleton()
boolean
isZombie()
float
lerp(float float1, float float2, float float3)
void
load(java.nio.ByteBuffer byteBuffer, int int1)
boolean
loadLastStandString(java.lang.String string)
int
pickRandomZombieRotStage()
void
randomBlood()
void
randomDirt()
void
removeBlood()
void
removeDirt()
void
save(java.nio.ByteBuffer byteBuffer)
void
setBeardColor(ImmutableColor immutableColor)
void
setBeardModel(java.lang.String string)
void
setBlood(BloodBodyPartType bloodBodyPartType, float float1)
void
setBodyHairIndex(int int1)
void
setDirt(BloodBodyPartType bloodBodyPartType, float float1)
void
setHairColor(ImmutableColor immutableColor)
void
setHairModel(java.lang.String string)
void
setHole(BloodBodyPartType bloodBodyPartType)
void
setNonAttachedHair(java.lang.String string)
void
setOutfit(Outfit outfit)
void
setSkinColor(ImmutableColor immutableColor)
void
setSkinTextureIndex(int int1)
void
setSkinTextureName(java.lang.String string)
void
synchWithOutfit(Outfit outfit)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
public void setSkinTextureName(java.lang.String string) -
lerp
public float lerp(float float1, float float2, float float3) -
pickRandomZombieRotStage
public int pickRandomZombieRotStage() -
getSkinTexture
public java.lang.String getSkinTexture() -
setHairColor
-
getHairColor
-
setBeardColor
-
getBeardColor
-
setHairModel
public void setHairModel(java.lang.String string) -
getHairModel
public java.lang.String getHairModel() -
setBeardModel
public void setBeardModel(java.lang.String string) -
getBeardModel
public java.lang.String 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() -
copyFrom
-
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Specified by:
save
in classBaseVisual
- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Specified by:
load
in classBaseVisual
- Throws:
java.io.IOException
-
createModelInstance
- Specified by:
createModelInstance
in classBaseVisual
-
GetMask
-
synchWithOutfit
-
dressInNamedOutfit
-
dressInClothingItem
-
dressInClothingItem
public void dressInClothingItem(java.lang.String string, ItemVisuals itemVisuals, boolean boolean1) -
getBodyVisuals
-
addBodyVisual
-
addClothingItem
-
getOutfit
-
setOutfit
-
getNonAttachedHair
public java.lang.String getNonAttachedHair() -
setNonAttachedHair
public void setNonAttachedHair(java.lang.String string) -
getLastStandString
public java.lang.String getLastStandString() -
loadLastStandString
public boolean loadLastStandString(java.lang.String string)
-