Class RarityFilterPlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.AbstractConditionalPlacementModifier
net.minecraft.world.gen.placementmodifier.RarityFilterPlacementModifier
- Mappings:
Namespace Name official dyq
intermediary net/minecraft/class_6799
named net/minecraft/world/gen/placementmodifier/RarityFilterPlacementModifier
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
static final com.mojang.serialization.Codec<RarityFilterPlacementModifier>
Fields inherited from class net.minecraft.world.gen.placementmodifier.PlacementModifier
CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
of
(int chance) protected boolean
shouldPlace
(FeaturePlacementContext context, Random random, BlockPos pos) Methods inherited from class net.minecraft.world.gen.placementmodifier.AbstractConditionalPlacementModifier
getPositions
-
Field Details
-
MODIFIER_CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldyq;a:Lcom/mojang/serialization/Codec;
intermediary field_35752
Lnet/minecraft/class_6799;field_35752:Lcom/mojang/serialization/Codec;
named MODIFIER_CODEC
Lnet/minecraft/world/gen/placementmodifier/RarityFilterPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
-
chance
private final int chance- Mappings:
Namespace Name Mixin selector official c
Ldyq;c:I
intermediary field_35753
Lnet/minecraft/class_6799;field_35753:I
named chance
Lnet/minecraft/world/gen/placementmodifier/RarityFilterPlacementModifier;chance:I
-
-
Constructor Details
-
RarityFilterPlacementModifier
private RarityFilterPlacementModifier(int chance) - Mappings:
Namespace Name Mixin selector official <init>
Ldyq;<init>(I)V
intermediary <init>
Lnet/minecraft/class_6799;<init>(I)V
named <init>
Lnet/minecraft/world/gen/placementmodifier/RarityFilterPlacementModifier;<init>(I)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Ldyq;a(I)Ldyq;
intermediary method_39659
Lnet/minecraft/class_6799;method_39659(I)Lnet/minecraft/class_6799;
named of
Lnet/minecraft/world/gen/placementmodifier/RarityFilterPlacementModifier;of(I)Lnet/minecraft/world/gen/placementmodifier/RarityFilterPlacementModifier;
-
shouldPlace
- Specified by:
shouldPlace
in classAbstractConditionalPlacementModifier
- Mappings:
Namespace Name Mixin selector official a
Ldym;a(Ldyl;Lauv;Lhx;)Z
intermediary method_38918
Lnet/minecraft/class_6661;method_38918(Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Z
named shouldPlace
Lnet/minecraft/world/gen/placementmodifier/AbstractConditionalPlacementModifier;shouldPlace(Lnet/minecraft/world/gen/feature/FeaturePlacementContext;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Z
-
getType
- Specified by:
getType
in classPlacementModifier
- Mappings:
Namespace Name Mixin selector official b
Ldyn;b()Ldyo;
intermediary method_39615
Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
named getType
Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getType()Lnet/minecraft/world/gen/placementmodifier/PlacementModifierType;
-