Class FluidDefinitionScript
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.FluidDefinitionScript
-
Field Summary
Fields inherited from class zombie.scripting.objects.BaseScriptObject
debugOnly, enabled
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
float
getColor()
float
boolean
float
float
float
float
float
getModID()
float
float
float
float
float
float
float
boolean
void
InitLoadPP
(String string) boolean
void
void
void
void
void
void
reset()
Methods inherited from class zombie.scripting.objects.BaseScriptObject
addLoadedScriptBody, calculateScriptVersion, debugString, getAllScriptLines, getBodyScriptLines, getLoadedScriptBodies, getLoadedScriptBodyCount, getModule, getObsolete, getParent, getScriptLines, getScriptObjectFullType, getScriptObjectName, getScriptObjectType, getScriptVersion, getVersion, isDebugOnly, isEnabled, LoadCommonBlock, LoadCommonBlock, LoadVector3, resetLoadedScriptBodies, setModule, setParent
-
Constructor Details
-
FluidDefinitionScript
protected FluidDefinitionScript()
-
-
Method Details
-
getExistsAsVanilla
public boolean getExistsAsVanilla() -
isVanilla
public boolean isVanilla() -
getModID
-
getFluidType
-
getFluidTypeString
-
getDisplayName
-
getColor
-
getCategories
-
getBlendWhitelist
-
getBlendBlackList
-
getPoisonMaxEffect
-
getPoisonMinAmount
public float getPoisonMinAmount() -
getPoisonDiluteRatio
public float getPoisonDiluteRatio() -
getFatigueChange
public float getFatigueChange() -
getHungerChange
public float getHungerChange() -
getStressChange
public float getStressChange() -
getThirstChange
public float getThirstChange() -
getUnhappyChange
public float getUnhappyChange() -
getCalories
public float getCalories() -
getCarbohydrates
public float getCarbohydrates() -
getLipids
public float getLipids() -
getProteins
public float getProteins() -
getAlcohol
public float getAlcohol() -
getFluReduction
public float getFluReduction() -
getPainReduction
public float getPainReduction() -
getEnduranceChange
public float getEnduranceChange() -
getFoodSicknessReduction
public float getFoodSicknessReduction() -
hasPropertiesSet
public boolean hasPropertiesSet() -
InitLoadPP
- Overrides:
InitLoadPP
in classBaseScriptObject
-
Load
-
PreReload
public void PreReload()- Overrides:
PreReload
in classBaseScriptObject
-
reset
public void reset()- Overrides:
reset
in classBaseScriptObject
-
OnScriptsLoaded
- Overrides:
OnScriptsLoaded
in classBaseScriptObject
- Throws:
Exception
-
OnLoadedAfterLua
- Overrides:
OnLoadedAfterLua
in classBaseScriptObject
- Throws:
Exception
-
OnPostWorldDictionaryInit
- Overrides:
OnPostWorldDictionaryInit
in classBaseScriptObject
- Throws:
Exception
-