Class When.PropertyCondition

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

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

    • properties

      private final Map<Property<?>,​String> properties
      Mappings:
      Namespace Name Mixin selector
      official a Ljd$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/model/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 Ljd$c;a(Lclv;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/model/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 Ljd$c;c(Lclv;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/model/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 Ljd$c;a(Lclv;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/model/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 Ljd$c;a(Lclv;Ljava/lang/Comparable;)Ljd$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/model/When$PropertyCondition;set(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/data/client/model/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 Ljd$c;a(Lclv;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljd$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/model/When$PropertyCondition;set(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/data/client/model/When$PropertyCondition;
    • method_35871

      public final <T extends Comparable<T>> When.PropertyCondition method_35871(Property<T> property, T t)
      Mappings:
      Namespace Name Mixin selector
      official b Ljd$c;b(Lclv;Ljava/lang/Comparable;)Ljd$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 method_35871 Lnet/minecraft/data/client/model/When$PropertyCondition;method_35871(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/data/client/model/When$PropertyCondition;
    • method_35872

      @SafeVarargs public final <T extends Comparable<T>> When.PropertyCondition method_35872(Property<T> property, T t, T[] t2)
      Mappings:
      Namespace Name Mixin selector
      official b Ljd$c;b(Lclv;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljd$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 method_35872 Lnet/minecraft/data/client/model/When$PropertyCondition;method_35872(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/data/client/model/When$PropertyCondition;
    • get

      public JsonElement get()
      Specified by:
      get in interface Supplier<JsonElement>
      Mappings:
      Namespace Name Mixin selector
      official b Ljd$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/model/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 Ljd;a(Lckt;)V
      intermediary method_25745 Lnet/minecraft/class_4918;method_25745(Lnet/minecraft/class_2689;)V
      named validate Lnet/minecraft/data/client/model/When;validate(Lnet/minecraft/state/StateManager;)V