Package net.minecraft.predicate
Class FluidPredicate
java.lang.Object
net.minecraft.predicate.FluidPredicate
- Mappings:
Namespace Name official bu
intermediary net/minecraft/class_4551
named net/minecraft/predicate/FluidPredicate
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFluidPredicate
(@Nullable TagKey<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
Lbu;a:Lbu;
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
Lbu;b:Lanv;
intermediary field_20709
Lnet/minecraft/class_4551;field_20709:Lnet/minecraft/class_6862;
named tag
Lnet/minecraft/predicate/FluidPredicate;tag:Lnet/minecraft/registry/tag/TagKey;
-
fluid
- Mappings:
Namespace Name Mixin selector official c
Lbu;c:Ldwi;
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
Lbu;d:Lcy;
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 TagKey<Fluid> tag, @Nullable @Nullable Fluid fluid, StatePredicate state) - Mappings:
Namespace Name Mixin selector official <init>
Lbu;<init>(Lanv;Ldwi;Lcy;)V
intermediary <init>
Lnet/minecraft/class_4551;<init>(Lnet/minecraft/class_6862;Lnet/minecraft/class_3611;Lnet/minecraft/class_4559;)V
named <init>
Lnet/minecraft/predicate/FluidPredicate;<init>(Lnet/minecraft/registry/tag/TagKey;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/predicate/StatePredicate;)V
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbu;a(Laip;Lgt;)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
Lbu;a(Lcom/google/gson/JsonElement;)Lbu;
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
Lbu;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;
-