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
named net/minecraft/data/client/When$PropertyCondition
intermediary net/minecraft/class_4918$class_4921
official nv$c
  • Field Details

    • properties

      private final Map<Property<?>,String> properties
      Mappings:
      Namespace Name Mixin selector
      named properties Lnet/minecraft/data/client/When$PropertyCondition;properties:Ljava/util/Map;
      intermediary field_22854 Lnet/minecraft/class_4918$class_4921;field_22854:Ljava/util/Map;
      official a Lnv$c;a: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
      named name Lnet/minecraft/data/client/When$PropertyCondition;name(Lnet/minecraft/state/property/Property;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;
      official a Lnv$c;a(Ldtg;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
      named name Lnet/minecraft/data/client/When$PropertyCondition;name(Lnet/minecraft/state/property/Property;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;
      official c Lnv$c;c(Ldtg;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
      named set Lnet/minecraft/data/client/When$PropertyCondition;set(Lnet/minecraft/state/property/Property;Ljava/lang/String;)V
      intermediary method_25753 Lnet/minecraft/class_4918$class_4921;method_25753(Lnet/minecraft/class_2769;Ljava/lang/String;)V
      official a Lnv$c;a(Ldtg;Ljava/lang/String;)V
    • set

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

      @SafeVarargs public final <T extends Comparable<T>> When.PropertyCondition set(Property<T> property, T value, T[] otherValues)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lnv$c;a(Ldtg;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnv$c;
    • setNegated

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

      @SafeVarargs public final <T extends Comparable<T>> When.PropertyCondition setNegated(Property<T> property, T value, T[] otherValues)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official b Lnv$c;b(Ldtg;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnv$c;
    • get

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

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