public class SpiritFurnaceConfig extends BlockContainerConfig
SpiritFurnace.| Modifier and Type | Class and Description |
|---|---|
static class |
SpiritFurnaceConfig.OverridePlayerDrop
Callback for when the player drops property is changed.
|
IInitListener.Step| Modifier and Type | Field and Description |
|---|---|
static SpiritFurnaceConfig |
_instance
The unique instance.
|
static int |
mBPerTick
How much mB per tick this furnace should consume.
|
static boolean |
mobDeathSounds
If the machine should play mob death sounds.
|
static java.lang.String[] |
playerDrops
Custom player drops.
|
static int |
playerMBPerTick
How much mB per tick this furnace should consume for player spirit.
|
static int |
requiredTicksPerHp
The required amount of ticks for each HP for cooking an entity.
|
static int |
villagerDropEmeraldChance
The 1/X chance for villagers to drop emeralds.
|
configProperties| Constructor and Description |
|---|
SpiritFurnaceConfig()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends net.minecraft.item.ItemBlock> |
getItemBlockClass()
If hasSubTypes() returns true this method can be overwritten to define another ItemBlock class
|
java.util.Set<Upgrades.Upgrade> |
getUpgrades() |
void |
onInit(IInitListener.Step step)
This will be called in an init step.
|
getHolderType, onRegisteredgetBlockInstance, getFullUnlocalizedName, getOreDictionaryId, getUnlocalizedName, isMultipartEnabledcompareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isEnabled, isHardDisabled, save, setEnabled, showDoubleInitErrorpublic static SpiritFurnaceConfig _instance
public static int mBPerTick
public static int playerMBPerTick
public static int requiredTicksPerHp
public static boolean mobDeathSounds
public static int villagerDropEmeraldChance
public static java.lang.String[] playerDrops
public java.lang.Class<? extends net.minecraft.item.ItemBlock> getItemBlockClass()
BlockConfiggetItemBlockClass in class BlockConfigpublic java.util.Set<Upgrades.Upgrade> getUpgrades()
getUpgrades in class BlockContainerConfigpublic void onInit(IInitListener.Step step)
IInitListeneronInit in interface IInitListeneronInit in class ExtendedConfig<BlockConfig>step - The init step.