public class BiomeExtractConfig
extends org.cyclops.cyclopscore.config.extendedconfig.ItemConfig
BiomeExtract.| Modifier and Type | Class and Description |
|---|---|
static class |
BiomeExtractConfig.CraftingBlacklistChanged
Callback for when the crafting blacklist property is changed.
|
static class |
BiomeExtractConfig.UsageBlacklistChanged
Callback for when the usage blacklist property is changed.
|
| Modifier and Type | Field and Description |
|---|---|
static BiomeExtractConfig |
_instance
The unique instance.
|
static java.lang.String[] |
craftingBlacklist
A list of biome ids for which no Biome Extracts may be created.
|
static boolean |
creativeTabVariants
If creative versions for all variants should be added to the creative tab.
|
static int |
envirAccCooldownTime
The cooldown time int the Environmental Accumulator recipe.
|
static boolean |
hasRecipes
If this should have recipes inside the Environmental Accumulator.
|
static java.lang.String[] |
usageBlacklist
A list of biome ids for which no Biome Extracts may be used.
|
| Constructor and Description |
|---|
BiomeExtractConfig()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getModelName(net.minecraft.item.ItemStack itemStack) |
boolean |
isCraftingBlacklisted(int biomeId)
If the given biome id is blacklisted for crafting.
|
boolean |
isUsageBlacklisted(net.minecraft.world.biome.BiomeGenBase biome)
If the given biome is blacklisted for usage.
|
void |
setBlacklist(java.lang.String[] config,
java.util.Set<net.minecraft.util.ResourceLocation> blacklistNames)
Register the usage multipliers config from the given string array.
|
getFullUnlocalizedName, getHolderType, getItemInstance, getOreDictionaryId, getTargetTab, getUnlocalizedName, initSubInstance, onRegistered, registerDynamicModelcompareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getMod, getNamedId, getSubInstance, getSubUniqueName, isDisableable, isEnabled, isHardDisabled, onInit, save, setEnabled, showDoubleInitErrorpublic static BiomeExtractConfig _instance
public static boolean creativeTabVariants
public static boolean hasRecipes
public static int envirAccCooldownTime
public static java.lang.String[] craftingBlacklist
public static java.lang.String[] usageBlacklist
public java.lang.String getModelName(net.minecraft.item.ItemStack itemStack)
getModelName in interface org.cyclops.cyclopscore.config.extendedconfig.IModelProviderConfiggetModelName in class org.cyclops.cyclopscore.config.extendedconfig.ItemConfigpublic void setBlacklist(java.lang.String[] config,
java.util.Set<net.minecraft.util.ResourceLocation> blacklistNames)
config - The config where each element is in the form 'biomename'.blacklistNames - The set of biome names to set.public boolean isCraftingBlacklisted(int biomeId)
biomeId - The biome idpublic boolean isUsageBlacklisted(net.minecraft.world.biome.BiomeGenBase biome)
biome - The biome