public class PoisonousLibelleConfig extends MobConfig
PoisonousLibelle.IInitListener.Step| Modifier and Type | Field and Description |
|---|---|
static PoisonousLibelleConfig |
_instance
The unique instance.
|
static boolean |
hasAttackDamage
Should the Poisonous Libelle do damage, next to poisoning?
|
static boolean |
isEnabled
Should the PoisonousLibelle be enabled?
|
static int |
minY
The minimum Y-level this mob can spawn at.
|
static int |
poisonChance
1/X chance on getting poisoned when hit.
|
configProperties| Constructor and Description |
|---|
PoisonousLibelleConfig()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBackgroundEggColor()
Get the background color of the spawn egg.
|
int |
getForegroundEggColor()
Get the foreground color of the spawn egg.
|
net.minecraft.client.renderer.entity.Render |
getRender()
Get the render for this configurable.
|
boolean |
isEnabled()
Checks if the eConfig refers to a target that should be enabled.
|
void |
onRegistered()
Overridable method that is immediately called after the element of this config is registered.
|
getHolderType, getUnlocalizedName, hasSpawnEggcompareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isHardDisabled, onInit, save, setEnabled, showDoubleInitErrorpublic static PoisonousLibelleConfig _instance
public static boolean isEnabled
public static boolean hasAttackDamage
public static int minY
public static int poisonChance
public boolean isEnabled()
ExtendedConfigisEnabled in class ExtendedConfig<MobConfig>public int getBackgroundEggColor()
MobConfiggetBackgroundEggColor in class MobConfigpublic int getForegroundEggColor()
MobConfiggetForegroundEggColor in class MobConfigpublic net.minecraft.client.renderer.entity.Render getRender()
MobConfigpublic void onRegistered()
ExtendedConfigonRegistered in class ExtendedConfig<MobConfig>