Class FluidPredicate.Builder

java.lang.Object
net.minecraft.predicate.FluidPredicate.Builder
Enclosing class:
FluidPredicate

public static class FluidPredicate.Builder extends Object
Mappings:
Namespace Name
official bx$a
intermediary net/minecraft/class_4551$class_6079
named net/minecraft/predicate/FluidPredicate$Builder
  • Field Details

    • fluid

      private Optional<RegistryEntry<Fluid>> fluid
      Mappings:
      Namespace Name Mixin selector
      official a Lbx$a;a:Ljava/util/Optional;
      intermediary field_30912 Lnet/minecraft/class_4551$class_6079;field_30912:Ljava/util/Optional;
      named fluid Lnet/minecraft/predicate/FluidPredicate$Builder;fluid:Ljava/util/Optional;
    • tag

      private Optional<TagKey<Fluid>> tag
      Mappings:
      Namespace Name Mixin selector
      official b Lbx$a;b:Ljava/util/Optional;
      intermediary field_30913 Lnet/minecraft/class_4551$class_6079;field_30913:Ljava/util/Optional;
      named tag Lnet/minecraft/predicate/FluidPredicate$Builder;tag:Ljava/util/Optional;
    • state

      private Optional<StatePredicate> state
      Mappings:
      Namespace Name Mixin selector
      official c Lbx$a;c:Ljava/util/Optional;
      intermediary field_30914 Lnet/minecraft/class_4551$class_6079;field_30914:Ljava/util/Optional;
      named state Lnet/minecraft/predicate/FluidPredicate$Builder;state:Ljava/util/Optional;
  • Constructor Details

    • Builder

      private Builder()
  • Method Details

    • create

      public static FluidPredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      official a Lbx$a;a()Lbx$a;
      intermediary method_35221 Lnet/minecraft/class_4551$class_6079;method_35221()Lnet/minecraft/class_4551$class_6079;
      named create Lnet/minecraft/predicate/FluidPredicate$Builder;create()Lnet/minecraft/predicate/FluidPredicate$Builder;
    • fluid

      public FluidPredicate.Builder fluid(Fluid fluid)
      Mappings:
      Namespace Name Mixin selector
      official a Lbx$a;a(Leal;)Lbx$a;
      intermediary method_35224 Lnet/minecraft/class_4551$class_6079;method_35224(Lnet/minecraft/class_3611;)Lnet/minecraft/class_4551$class_6079;
      named fluid Lnet/minecraft/predicate/FluidPredicate$Builder;fluid(Lnet/minecraft/fluid/Fluid;)Lnet/minecraft/predicate/FluidPredicate$Builder;
    • tag

      public FluidPredicate.Builder tag(TagKey<Fluid> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lbx$a;a(Laqh;)Lbx$a;
      intermediary method_35222 Lnet/minecraft/class_4551$class_6079;method_35222(Lnet/minecraft/class_6862;)Lnet/minecraft/class_4551$class_6079;
      named tag Lnet/minecraft/predicate/FluidPredicate$Builder;tag(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/predicate/FluidPredicate$Builder;
    • state

      public FluidPredicate.Builder state(StatePredicate state)
      Mappings:
      Namespace Name Mixin selector
      official a Lbx$a;a(Lda;)Lbx$a;
      intermediary method_35223 Lnet/minecraft/class_4551$class_6079;method_35223(Lnet/minecraft/class_4559;)Lnet/minecraft/class_4551$class_6079;
      named state Lnet/minecraft/predicate/FluidPredicate$Builder;state(Lnet/minecraft/predicate/StatePredicate;)Lnet/minecraft/predicate/FluidPredicate$Builder;
    • build

      public FluidPredicate build()
      Mappings:
      Namespace Name Mixin selector
      official b Lbx$a;b()Lbx;
      intermediary method_35225 Lnet/minecraft/class_4551$class_6079;method_35225()Lnet/minecraft/class_4551;
      named build Lnet/minecraft/predicate/FluidPredicate$Builder;build()Lnet/minecraft/predicate/FluidPredicate;