public class BetterSpawnerConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.Set<net.minecraft.block.Block> |
airBlockCategory |
java.util.HashMap<java.lang.String,PokemonSpecification> |
autoTagSpecs |
java.util.HashMap<java.lang.String,java.util.Set<net.minecraft.world.biome.Biome>> |
cachedBiomeCategories |
java.util.HashMap<java.lang.String,java.util.Set<net.minecraft.block.Block>> |
cachedBlockCategories |
CompositeSpawnCondition |
globalCompositeCondition |
java.util.ArrayList<RarityMultiplier> |
globalRarityMultipliers |
static BetterSpawnerConfig |
INSTANCE |
java.util.HashMap<java.lang.String,java.lang.Integer> |
intervalSeconds |
static java.util.HashMap<java.lang.String,java.lang.Long> |
intervalTimes
The in-memory container for when the last spawn time (epoch time) occurred for each interval.
|
java.util.Set<net.minecraft.block.Block> |
landBlockCategory |
java.util.Set<net.minecraft.block.Block> |
lavaBlockCategory |
static java.lang.String |
PATH |
java.util.Set<net.minecraft.block.Block> |
seesSkyBlockCategory |
java.util.Set<net.minecraft.block.Block> |
structureBlockCategory |
java.util.Set<net.minecraft.block.Block> |
treeTopBlockCategory |
java.util.Set<net.minecraft.block.Block> |
waterBlockCategory |
Constructor and Description |
---|
BetterSpawnerConfig() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkInterval(java.lang.String interval) |
static void |
consumeInterval(java.lang.String interval) |
static boolean |
doesBlockSeeSky(net.minecraft.block.BlockState state) |
static java.util.Set<net.minecraft.block.Block> |
getAirBlocks() |
static java.util.Set<net.minecraft.block.Block> |
getBlockCategory(java.lang.String blockCategory) |
static java.util.Set<net.minecraft.block.Block> |
getLandBlocks() |
static java.util.Set<net.minecraft.block.Block> |
getLavaBlocks() |
static java.util.Set<net.minecraft.block.Block> |
getSeesSkyExceptionBlocks() |
static java.lang.String |
getStoredJson() |
static java.util.Set<net.minecraft.block.Block> |
getStructureBlocks() |
static java.util.Set<net.minecraft.block.Block> |
getTreeTopBlocks() |
static java.util.Set<net.minecraft.block.Block> |
getWaterBlocks() |
static boolean |
inBiomeCategory(java.lang.String category,
net.minecraft.world.biome.Biome name) |
static void |
load(com.google.gson.Gson gson,
com.google.gson.JsonElement json) |
public static final java.lang.String PATH
public static final java.util.HashMap<java.lang.String,java.lang.Long> intervalTimes
public static BetterSpawnerConfig INSTANCE
public CompositeSpawnCondition globalCompositeCondition
public java.util.ArrayList<RarityMultiplier> globalRarityMultipliers
public java.util.HashMap<java.lang.String,PokemonSpecification> autoTagSpecs
public java.util.HashMap<java.lang.String,java.lang.Integer> intervalSeconds
public transient java.util.Set<net.minecraft.block.Block> landBlockCategory
public transient java.util.Set<net.minecraft.block.Block> waterBlockCategory
public transient java.util.Set<net.minecraft.block.Block> airBlockCategory
public transient java.util.Set<net.minecraft.block.Block> lavaBlockCategory
public transient java.util.Set<net.minecraft.block.Block> seesSkyBlockCategory
public transient java.util.Set<net.minecraft.block.Block> treeTopBlockCategory
public transient java.util.Set<net.minecraft.block.Block> structureBlockCategory
public transient java.util.HashMap<java.lang.String,java.util.Set<net.minecraft.block.Block>> cachedBlockCategories
public transient java.util.HashMap<java.lang.String,java.util.Set<net.minecraft.world.biome.Biome>> cachedBiomeCategories
public static void load(com.google.gson.Gson gson, com.google.gson.JsonElement json)
public static java.lang.String getStoredJson()
public static boolean checkInterval(java.lang.String interval)
public static void consumeInterval(java.lang.String interval)
public static java.util.Set<net.minecraft.block.Block> getLandBlocks()
public static java.util.Set<net.minecraft.block.Block> getWaterBlocks()
public static java.util.Set<net.minecraft.block.Block> getLavaBlocks()
public static java.util.Set<net.minecraft.block.Block> getAirBlocks()
public static java.util.Set<net.minecraft.block.Block> getSeesSkyExceptionBlocks()
public static java.util.Set<net.minecraft.block.Block> getStructureBlocks()
public static java.util.Set<net.minecraft.block.Block> getTreeTopBlocks()
public static java.util.Set<net.minecraft.block.Block> getBlockCategory(java.lang.String blockCategory)
public static boolean doesBlockSeeSky(net.minecraft.block.BlockState state)
public static boolean inBiomeCategory(java.lang.String category, net.minecraft.world.biome.Biome name)