Class FluidDefinitionScript
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.FluidDefinitionScript
-
Method Summary
Modifier and TypeMethodDescriptionfloatfloatfloatgetColor()floatbooleanfloatfloatintfloatfloatgetModID()floatfloatfloatfloatfloatfloatfloatbooleanvoidInitLoadPP(String name) booleanvoidvoidOnScriptsLoaded(ScriptLoadMode loadMode) voidMethods inherited from class BaseScriptObject
addLoadedScriptBody, calculateScriptVersion, debugString, getAllScriptLines, getBodyScriptLines, getLoadedScriptBodies, getLoadedScriptBodyCount, getModule, getObsolete, getParent, getScriptLines, getScriptObjectFullType, getScriptObjectName, getScriptObjectType, getScriptVersion, getVersion, isDebugOnly, isEnabled, LoadCommonBlock, LoadCommonBlock, OnLoadedAfterLua, OnPostWorldDictionaryInit, reset, resetLoadedScriptBodies, setModule, setParent
-
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() -
getFoodSicknessChange
public int getFoodSicknessChange() -
hasPropertiesSet
public boolean hasPropertiesSet() -
InitLoadPP
- Overrides:
InitLoadPPin classBaseScriptObject
-
Load
-
PreReload
public void PreReload()- Overrides:
PreReloadin classBaseScriptObject
-
OnScriptsLoaded
- Overrides:
OnScriptsLoadedin classBaseScriptObject- Throws:
Exception
-