Class Layers
java.lang.Object
net.minecraft.world.level.newbiome.layer.Layers
- All Implemented Interfaces:
LayerBiomes
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static it.unimi.dsi.fastutil.ints.Int2IntMap
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
Fields inherited from interface net.minecraft.world.level.newbiome.layer.LayerBiomes
BADLANDS, BADLANDS_PLATEAU, BAMBOO_JUNGLE, BAMBOO_JUNGLE_HILLS, BEACH, BIRCH_FOREST, BIRCH_FOREST_HILLS, COLD_OCEAN, DARK_FOREST, DARK_FOREST_HILLS, DEEP_COLD_OCEAN, DEEP_FROZEN_OCEAN, DEEP_LUKEWARM_OCEAN, DEEP_OCEAN, DEEP_WARM_OCEAN, DESERT, DESERT_HILLS, DESERT_LAKES, ERODED_BADLANDS, FLOWER_FOREST, FOREST, FROZEN_OCEAN, FROZEN_RIVER, GIANT_SPRUCE_TAIGA, GIANT_SPRUCE_TAIGA_HILLS, GIANT_TREE_TAIGA, GIANT_TREE_TAIGA_HILLS, GRAVELLY_MOUNTAINS, ICE_SPIKES, JUNGLE, JUNGLE_EDGE, JUNGLE_HILLS, LUKEWARM_OCEAN, MODIFIED_BADLANDS_PLATEAU, MODIFIED_GRAVELLY_MOUNTAINS, MODIFIED_JUNGLE, MODIFIED_JUNGLE_EDGE, MODIFIED_WOODED_BADLANDS_PLATEAU, MOUNTAIN_EDGE, MOUNTAINS, MUSHROOM_FIELD_SHORE, MUSHROOM_FIELDS, OCEAN, PLAINS, RIVER, SAVANNA, SAVANNA_PLATEAU, SHATTERED_SAVANNA, SHATTERED_SAVANNA_PLATEAU, SNOWY_BEACH, SNOWY_MOUNTAINS, SNOWY_TAIGA, SNOWY_TAIGA_HILLS, SNOWY_TAIGA_MOUNTAINS, SNOWY_TUNDRA, STONE_SHORE, SUNFLOWER_PLAINS, SWAMP, SWAMP_HILLS, TAIGA, TAIGA_HILLS, TAIGA_MOUNTAINS, TALL_BIRCH_FOREST, TALL_BIRCH_HILLS, WARM_OCEAN, WOODED_BADLANDS_PLATEAU, WOODED_HILLS, WOODED_MOUNTAINS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <T extends Area, C extends BigContext<T>>
AreaFactory<T>getDefaultLayer(boolean p_76747_, int p_76748_, int p_76749_, LongFunction<C> p_76750_)
static Layer
getDefaultLayer(long p_76736_, boolean p_76737_, int p_76738_, int p_76739_)
protected static boolean
isOcean(int p_76722_)
static boolean
isSame(int p_76724_, int p_76725_)
protected static boolean
isShallowOcean(int p_76752_)
private static void
register(it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap p_76743_, Layers.Category p_76744_, int p_76745_)
static <T extends Area, C extends BigContext<T>>
AreaFactory<T>zoom(long p_76730_, AreaTransformer1 p_76731_, AreaFactory<T> p_76732_, int p_76733_, LongFunction<C> p_76734_)
-
Field Details
-
WARM_ID
protected static final int WARM_ID- See Also:
- Constant Field Values
-
MEDIUM_ID
protected static final int MEDIUM_ID- See Also:
- Constant Field Values
-
COLD_ID
protected static final int COLD_ID- See Also:
- Constant Field Values
-
ICE_ID
protected static final int ICE_ID- See Also:
- Constant Field Values
-
SPECIAL_MASK
protected static final int SPECIAL_MASK- See Also:
- Constant Field Values
-
SPECIAL_SHIFT
protected static final int SPECIAL_SHIFT- See Also:
- Constant Field Values
-
CATEGORIES
private static final it.unimi.dsi.fastutil.ints.Int2IntMap CATEGORIES
-
-
Constructor Details
-
Layers
public Layers()
-
-
Method Details
-
zoom
public static <T extends Area, C extends BigContext<T>> AreaFactory<T> zoom(long p_76730_, AreaTransformer1 p_76731_, AreaFactory<T> p_76732_, int p_76733_, LongFunction<C> p_76734_) -
getDefaultLayer
private static <T extends Area, C extends BigContext<T>> AreaFactory<T> getDefaultLayer(boolean p_76747_, int p_76748_, int p_76749_, LongFunction<C> p_76750_) -
getDefaultLayer
-
isSame
public static boolean isSame(int p_76724_, int p_76725_) -
register
private static void register(it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap p_76743_, Layers.Category p_76744_, int p_76745_) -
isOcean
protected static boolean isOcean(int p_76722_) -
isShallowOcean
protected static boolean isShallowOcean(int p_76752_)
-