Class When.PropertyCondition

java.lang.Object
net.minecraft.data.client.When.PropertyCondition
All Implemented Interfaces:
Supplier<JsonElement>, When
Enclosing interface:
When

public static class When.PropertyCondition extends Object implements When
Mappings:
Namespace Name
official jl$c
intermediary net/minecraft/class_4918$class_4921
named net/minecraft/data/client/When$PropertyCondition
  • Field Details

    • properties

      private final Map<Property<?>,String> properties
      Mappings:
      Namespace Name Mixin selector
      official a Ljl$c;a:Ljava/util/Map;
      intermediary field_22854 Lnet/minecraft/class_4918$class_4921;field_22854:Ljava/util/Map;
      named properties Lnet/minecraft/data/client/When$PropertyCondition;properties:Ljava/util/Map;
  • Constructor Details

    • PropertyCondition

      public PropertyCondition()
  • Method Details

    • name

      private static <T extends Comparable<T>> String name(Property<T> property, Stream<T> valueStream)
      Mappings:
      Namespace Name Mixin selector
      official a Ljl$c;a(Lcpy;Ljava/util/stream/Stream;)Ljava/lang/String;
      intermediary method_25754 Lnet/minecraft/class_4918$class_4921;method_25754(Lnet/minecraft/class_2769;Ljava/util/stream/Stream;)Ljava/lang/String;
      named name Lnet/minecraft/data/client/When$PropertyCondition;name(Lnet/minecraft/state/property/Property;Ljava/util/stream/Stream;)Ljava/lang/String;
    • name

      private static <T extends Comparable<T>> String name(Property<T> property, T value, T[] otherValues)
      Mappings:
      Namespace Name Mixin selector
      official c Ljl$c;c(Lcpy;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/String;
      intermediary method_25757 Lnet/minecraft/class_4918$class_4921;method_25757(Lnet/minecraft/class_2769;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/String;
      named name Lnet/minecraft/data/client/When$PropertyCondition;name(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/String;
    • set

      private <T extends Comparable<T>> void set(Property<T> property, String value)
      Mappings:
      Namespace Name Mixin selector
      official a Ljl$c;a(Lcpy;Ljava/lang/String;)V
      intermediary method_25753 Lnet/minecraft/class_4918$class_4921;method_25753(Lnet/minecraft/class_2769;Ljava/lang/String;)V
      named set Lnet/minecraft/data/client/When$PropertyCondition;set(Lnet/minecraft/state/property/Property;Ljava/lang/String;)V
    • set

      public final <T extends Comparable<T>> When.PropertyCondition set(Property<T> property, T value)
      Mappings:
      Namespace Name Mixin selector
      official a Ljl$c;a(Lcpy;Ljava/lang/Comparable;)Ljl$c;
      intermediary method_25751 Lnet/minecraft/class_4918$class_4921;method_25751(Lnet/minecraft/class_2769;Ljava/lang/Comparable;)Lnet/minecraft/class_4918$class_4921;
      named set Lnet/minecraft/data/client/When$PropertyCondition;set(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/data/client/When$PropertyCondition;
    • set

      @SafeVarargs public final <T extends Comparable<T>> When.PropertyCondition set(Property<T> property, T value, T[] otherValues)
      Mappings:
      Namespace Name Mixin selector
      official a Ljl$c;a(Lcpy;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljl$c;
      intermediary method_25752 Lnet/minecraft/class_4918$class_4921;method_25752(Lnet/minecraft/class_2769;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/class_4918$class_4921;
      named set Lnet/minecraft/data/client/When$PropertyCondition;set(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/data/client/When$PropertyCondition;
    • setNegated

      public final <T extends Comparable<T>> When.PropertyCondition setNegated(Property<T> property, T value)
      Mappings:
      Namespace Name Mixin selector
      official b Ljl$c;b(Lcpy;Ljava/lang/Comparable;)Ljl$c;
      intermediary method_35871 Lnet/minecraft/class_4918$class_4921;method_35871(Lnet/minecraft/class_2769;Ljava/lang/Comparable;)Lnet/minecraft/class_4918$class_4921;
      named setNegated Lnet/minecraft/data/client/When$PropertyCondition;setNegated(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/data/client/When$PropertyCondition;
    • setNegated

      @SafeVarargs public final <T extends Comparable<T>> When.PropertyCondition setNegated(Property<T> property, T value, T[] otherValues)
      Mappings:
      Namespace Name Mixin selector
      official b Ljl$c;b(Lcpy;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljl$c;
      intermediary method_35872 Lnet/minecraft/class_4918$class_4921;method_35872(Lnet/minecraft/class_2769;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/class_4918$class_4921;
      named setNegated Lnet/minecraft/data/client/When$PropertyCondition;setNegated(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/data/client/When$PropertyCondition;
    • get

      public JsonElement get()
      Specified by:
      get in interface Supplier<JsonElement>
      Mappings:
      Namespace Name Mixin selector
      official b Ljl$c;b()Lcom/google/gson/JsonElement;
      intermediary method_25756 Lnet/minecraft/class_4918$class_4921;method_25756()Lcom/google/gson/JsonElement;
      named get Lnet/minecraft/data/client/When$PropertyCondition;get()Lcom/google/gson/JsonElement;
    • validate

      public void validate(StateManager<?,?> stateManager)
      Specified by:
      validate in interface When
      Mappings:
      Namespace Name Mixin selector
      official a Ljl;a(Lcow;)V
      intermediary method_25745 Lnet/minecraft/class_4918;method_25745(Lnet/minecraft/class_2689;)V
      named validate Lnet/minecraft/data/client/When;validate(Lnet/minecraft/state/StateManager;)V