Package net.minecraft.predicate.entity
Class LocationPredicate.Builder
java.lang.Object
net.minecraft.predicate.entity.LocationPredicate.Builder
- Enclosing class:
- LocationPredicate
public static class LocationPredicate.Builder extends Object
- Mappings:
Namespace Name official bw$a
intermediary net/minecraft/class_2090$class_2091
named net/minecraft/predicate/entity/LocationPredicate$Builder
-
Field Summary
Fields Modifier and Type Field Description private RegistryKey<Biome>
biome
private BlockPredicate
block
private RegistryKey<World>
dimension
private StructureFeature<?>
feature
private FluidPredicate
fluid
private LightPredicate
light
private Boolean
smokey
private NumberRange.FloatRange
x
private NumberRange.FloatRange
y
private NumberRange.FloatRange
z
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description LocationPredicate.Builder
biome(RegistryKey<Biome> biome)
LocationPredicate.Builder
block(BlockPredicate block)
LocationPredicate
build()
static LocationPredicate.Builder
create()
LocationPredicate.Builder
smokey(Boolean smokey)
-
Field Details
-
x
- Mappings:
Namespace Name Mixin selector official a
Lbw$a;a:Lbz$c;
intermediary field_9693
Lnet/minecraft/class_2090$class_2091;field_9693:Lnet/minecraft/class_2096$class_2099;
named x
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;x:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
y
- Mappings:
Namespace Name Mixin selector official b
Lbw$a;b:Lbz$c;
intermediary field_9689
Lnet/minecraft/class_2090$class_2091;field_9689:Lnet/minecraft/class_2096$class_2099;
named y
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;y:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
z
- Mappings:
Namespace Name Mixin selector official c
Lbw$a;c:Lbz$c;
intermediary field_9692
Lnet/minecraft/class_2090$class_2091;field_9692:Lnet/minecraft/class_2096$class_2099;
named z
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;z:Lnet/minecraft/predicate/NumberRange$FloatRange;
-
biome
- Mappings:
Namespace Name Mixin selector official d
Lbw$a;d:Lwa;
intermediary field_9690
Lnet/minecraft/class_2090$class_2091;field_9690:Lnet/minecraft/class_5321;
named biome
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;biome:Lnet/minecraft/util/registry/RegistryKey;
-
feature
- Mappings:
Namespace Name Mixin selector official e
Lbw$a;e:Lcqj;
intermediary field_9688
Lnet/minecraft/class_2090$class_2091;field_9688:Lnet/minecraft/class_3195;
named feature
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;feature:Lnet/minecraft/world/gen/feature/StructureFeature;
-
dimension
- Mappings:
Namespace Name Mixin selector official f
Lbw$a;f:Lwa;
intermediary field_9691
Lnet/minecraft/class_2090$class_2091;field_9691:Lnet/minecraft/class_5321;
named dimension
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;dimension:Lnet/minecraft/util/registry/RegistryKey;
-
smokey
- Mappings:
Namespace Name Mixin selector official g
Lbw$a;g:Ljava/lang/Boolean;
intermediary field_24501
Lnet/minecraft/class_2090$class_2091;field_24501:Ljava/lang/Boolean;
named smokey
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;smokey:Ljava/lang/Boolean;
-
light
- Mappings:
Namespace Name Mixin selector official h
Lbw$a;h:Lbv;
intermediary field_20717
Lnet/minecraft/class_2090$class_2091;field_20717:Lnet/minecraft/class_4552;
named light
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;light:Lnet/minecraft/predicate/LightPredicate;
-
block
- Mappings:
Namespace Name Mixin selector official i
Lbw$a;i:Lan;
intermediary field_20718
Lnet/minecraft/class_2090$class_2091;field_20718:Lnet/minecraft/class_4550;
named block
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;block:Lnet/minecraft/predicate/BlockPredicate;
-
fluid
- Mappings:
Namespace Name Mixin selector official j
Lbw$a;j:Lbl;
intermediary field_20719
Lnet/minecraft/class_2090$class_2091;field_20719:Lnet/minecraft/class_4551;
named fluid
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;fluid:Lnet/minecraft/predicate/FluidPredicate;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lbw$a;a()Lbw$a;
intermediary method_22484
Lnet/minecraft/class_2090$class_2091;method_22484()Lnet/minecraft/class_2090$class_2091;
named create
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;create()Lnet/minecraft/predicate/entity/LocationPredicate$Builder;
-
biome
- Mappings:
Namespace Name Mixin selector official a
Lbw$a;a(Lwa;)Lbw$a;
intermediary method_9024
Lnet/minecraft/class_2090$class_2091;method_9024(Lnet/minecraft/class_5321;)Lnet/minecraft/class_2090$class_2091;
named biome
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;biome(Lnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/predicate/entity/LocationPredicate$Builder;
-
block
- Mappings:
Namespace Name Mixin selector official a
Lbw$a;a(Lan;)Lbw$a;
intermediary method_27989
Lnet/minecraft/class_2090$class_2091;method_27989(Lnet/minecraft/class_4550;)Lnet/minecraft/class_2090$class_2091;
named block
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;block(Lnet/minecraft/predicate/BlockPredicate;)Lnet/minecraft/predicate/entity/LocationPredicate$Builder;
-
smokey
- Mappings:
Namespace Name Mixin selector official a
Lbw$a;a(Ljava/lang/Boolean;)Lbw$a;
intermediary method_27990
Lnet/minecraft/class_2090$class_2091;method_27990(Ljava/lang/Boolean;)Lnet/minecraft/class_2090$class_2091;
named smokey
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;smokey(Ljava/lang/Boolean;)Lnet/minecraft/predicate/entity/LocationPredicate$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Lbw$a;b()Lbw;
intermediary method_9023
Lnet/minecraft/class_2090$class_2091;method_9023()Lnet/minecraft/class_2090;
named build
Lnet/minecraft/predicate/entity/LocationPredicate$Builder;build()Lnet/minecraft/predicate/entity/LocationPredicate;
-