Package net.minecraft.world.gen.layer
Class LayerUtil
java.lang.Object
net.minecraft.world.gen.layer.LayerUtil
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final it.unimi.dsi.fastutil.ints.Int2IntMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <T extends IArea,
C extends IExtendedNoiseRandom<T>>
IAreaFactory<T>getDefaultLayer
(boolean p_237216_0_, int p_237216_1_, int p_237216_2_, 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_, LongFunction<C> p_202829_5_)
-
Field Details
-
CATEGORIES
private static final it.unimi.dsi.fastutil.ints.Int2IntMap CATEGORIES
-
-
Constructor Details
-
LayerUtil
public LayerUtil()
-
-
Method Details
-
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_, 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_, 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_)
-