Package net.minecraft.world.gen.layer
Class LayerUtil
- java.lang.Object
-
- net.minecraft.world.gen.layer.LayerUtil
-
public class LayerUtil extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
LayerUtil.Type
-
Field Summary
Fields Modifier and Type Field Description private static it.unimi.dsi.fastutil.ints.Int2IntMap
CATEGORIES
-
Constructor Summary
Constructors Constructor Description LayerUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static <T extends IArea,C extends IExtendedNoiseRandom<T>>
IAreaFactory<T>getDefaultLayer(boolean p_237216_0_, int p_237216_1_, int p_237216_2_, java.util.function.LongFunction<C> p_237216_3_)
static Layer
getDefaultLayer(long p_237215_0_, boolean p_237215_2_, int p_237215_3_, int p_237215_4_)
protected static boolean
isOcean(int p_202827_0_)
static boolean
isSame(int p_202826_0_, int p_202826_1_)
protected static boolean
isShallowOcean(int p_203631_0_)
private static void
register(it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap p_242939_0_, LayerUtil.Type p_242939_1_, int p_242939_2_)
static <T extends IArea,C extends IExtendedNoiseRandom<T>>
IAreaFactory<T>zoom(long p_202829_0_, IAreaTransformer1 p_202829_2_, IAreaFactory<T> p_202829_3_, int p_202829_4_, java.util.function.LongFunction<C> p_202829_5_)
-
-
-
Method Detail
-
zoom
public static <T extends IArea,C extends IExtendedNoiseRandom<T>> IAreaFactory<T> zoom(long p_202829_0_, IAreaTransformer1 p_202829_2_, IAreaFactory<T> p_202829_3_, int p_202829_4_, java.util.function.LongFunction<C> p_202829_5_)
-
getDefaultLayer
private static <T extends IArea,C extends IExtendedNoiseRandom<T>> IAreaFactory<T> getDefaultLayer(boolean p_237216_0_, int p_237216_1_, int p_237216_2_, java.util.function.LongFunction<C> p_237216_3_)
-
getDefaultLayer
public static Layer getDefaultLayer(long p_237215_0_, boolean p_237215_2_, int p_237215_3_, int p_237215_4_)
-
isSame
public static boolean isSame(int p_202826_0_, int p_202826_1_)
-
register
private static void register(it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap p_242939_0_, LayerUtil.Type p_242939_1_, int p_242939_2_)
-
isOcean
protected static boolean isOcean(int p_202827_0_)
-
isShallowOcean
protected static boolean isShallowOcean(int p_203631_0_)
-
-