Class CachingLayerSampler
java.lang.Object
net.minecraft.world.biome.layer.util.CachingLayerSampler
- All Implemented Interfaces:
LayerSampler
- Mappings:
Namespace Name official dfd
intermediary net/minecraft/class_3626
named net/minecraft/world/biome/layer/util/CachingLayerSampler
-
Field Summary
Modifier and TypeFieldDescriptionprivate Long2IntLinkedOpenHashMap
private int
private LayerOperator
-
Constructor Summary
ConstructorDescriptionCachingLayerSampler(Long2IntLinkedOpenHashMap cache, int cacheCapacity, LayerOperator operator)
-
Method Summary
-
Field Details
-
operator
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a:Ldgr;
intermediary field_16035
Lnet/minecraft/class_3626;field_16035:Lnet/minecraft/class_4;
named operator
Lnet/minecraft/world/biome/layer/util/CachingLayerSampler;operator:Lnet/minecraft/world/biome/layer/util/LayerOperator;
-
cache
- Mappings:
Namespace Name Mixin selector official b
Ldfd;b:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;
intermediary field_16038
Lnet/minecraft/class_3626;field_16038:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;
named cache
Lnet/minecraft/world/biome/layer/util/CachingLayerSampler;cache:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;
-
cacheCapacity
private final int cacheCapacity- Mappings:
Namespace Name Mixin selector official c
Ldfd;c:I
intermediary field_16036
Lnet/minecraft/class_3626;field_16036:I
named cacheCapacity
Lnet/minecraft/world/biome/layer/util/CachingLayerSampler;cacheCapacity:I
-
-
Constructor Details
-
CachingLayerSampler
public CachingLayerSampler(Long2IntLinkedOpenHashMap cache, int cacheCapacity, LayerOperator operator)- Mappings:
Namespace Name Mixin selector official <init>
Ldfd;<init>(Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;ILdgr;)V
intermediary <init>
Lnet/minecraft/class_3626;<init>(Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;ILnet/minecraft/class_4;)V
named <init>
Lnet/minecraft/world/biome/layer/util/CachingLayerSampler;<init>(Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;ILnet/minecraft/world/biome/layer/util/LayerOperator;)V
-
-
Method Details
-
sample
public int sample(int x, int z)- Specified by:
sample
in interfaceLayerSampler
- Mappings:
Namespace Name Mixin selector official a
Ldfb;a(II)I
intermediary method_15825
Lnet/minecraft/class_3625;method_15825(II)I
named sample
Lnet/minecraft/world/biome/layer/util/LayerSampler;sample(II)I
-
getCapacity
public int getCapacity()- Mappings:
Namespace Name Mixin selector official a
Ldfd;a()I
intermediary method_15827
Lnet/minecraft/class_3626;method_15827()I
named getCapacity
Lnet/minecraft/world/biome/layer/util/CachingLayerSampler;getCapacity()I
-