Package net.minecraft.predicate
Class FluidPredicate
java.lang.Object
net.minecraft.predicate.FluidPredicate
- Mappings:
Namespace Name official br
intermediary net/minecraft/class_4551
named net/minecraft/predicate/FluidPredicate
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFluidPredicate(@Nullable Tag<Fluid> tag, @Nullable Fluid fluid, StatePredicate state)
-
Method Summary
Modifier and TypeMethodDescriptionstatic FluidPredicate
fromJson(@Nullable JsonElement json)
boolean
test(ServerWorld world, BlockPos pos)
toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lbr;a:Lbr;
intermediary field_20708
Lnet/minecraft/class_4551;field_20708:Lnet/minecraft/class_4551;
named ANY
Lnet/minecraft/predicate/FluidPredicate;ANY:Lnet/minecraft/predicate/FluidPredicate;
-
tag
- Mappings:
Namespace Name Mixin selector official b
Lbr;b:Laga;
intermediary field_20709
Lnet/minecraft/class_4551;field_20709:Lnet/minecraft/class_3494;
named tag
Lnet/minecraft/predicate/FluidPredicate;tag:Lnet/minecraft/tag/Tag;
-
fluid
- Mappings:
Namespace Name Mixin selector official c
Lbr;c:Lder;
intermediary field_20710
Lnet/minecraft/class_4551;field_20710:Lnet/minecraft/class_3611;
named fluid
Lnet/minecraft/predicate/FluidPredicate;fluid:Lnet/minecraft/fluid/Fluid;
-
state
- Mappings:
Namespace Name Mixin selector official d
Lbr;d:Lcv;
intermediary field_20711
Lnet/minecraft/class_4551;field_20711:Lnet/minecraft/class_4559;
named state
Lnet/minecraft/predicate/FluidPredicate;state:Lnet/minecraft/predicate/StatePredicate;
-
-
Constructor Details
-
FluidPredicate
public FluidPredicate(@Nullable @Nullable Tag<Fluid> tag, @Nullable @Nullable Fluid fluid, StatePredicate state)- Mappings:
Namespace Name Mixin selector official <init>
Lbr;<init>(Laga;Lder;Lcv;)V
intermediary <init>
Lnet/minecraft/class_4551;<init>(Lnet/minecraft/class_3494;Lnet/minecraft/class_3611;Lnet/minecraft/class_4559;)V
named <init>
Lnet/minecraft/predicate/FluidPredicate;<init>(Lnet/minecraft/tag/Tag;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/predicate/StatePredicate;)V
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbr;a(Labr;Lgg;)Z
intermediary method_22475
Lnet/minecraft/class_4551;method_22475(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Z
named test
Lnet/minecraft/predicate/FluidPredicate;test(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lbr;a(Lcom/google/gson/JsonElement;)Lbr;
intermediary method_22474
Lnet/minecraft/class_4551;method_22474(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_4551;
named fromJson
Lnet/minecraft/predicate/FluidPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/FluidPredicate;
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lbr;a()Lcom/google/gson/JsonElement;
intermediary method_22473
Lnet/minecraft/class_4551;method_22473()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/FluidPredicate;toJson()Lcom/google/gson/JsonElement;
-