Interface Property<T extends Comparable<T>>

All Known Implementing Classes:
AbstractProperty, BooleanProperty, DirectionProperty, EnumProperty, IntProperty

public interface Property<T extends Comparable<T>>
Mappings:
Namespace Name
official bmm
intermediary net/minecraft/class_2247
named net/minecraft/state/property/Property
  • Method Details

    • getName

      String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lbmm;a()Ljava/lang/String;
      intermediary method_9079 Lnet/minecraft/class_2247;method_9079()Ljava/lang/String;
      named getName Lnet/minecraft/state/property/Property;getName()Ljava/lang/String;
    • getValues

      Collection<T> getValues()
      Mappings:
      Namespace Name Mixin selector
      official d Lbmm;d()Ljava/util/Collection;
      intermediary method_9082 Lnet/minecraft/class_2247;method_9082()Ljava/util/Collection;
      named getValues Lnet/minecraft/state/property/Property;getValues()Ljava/util/Collection;
    • getType

      Class<T> getType()
      Mappings:
      Namespace Name Mixin selector
      official b Lbmm;b()Ljava/lang/Class;
      intermediary method_9081 Lnet/minecraft/class_2247;method_9081()Ljava/lang/Class;
      named getType Lnet/minecraft/state/property/Property;getType()Ljava/lang/Class;
    • getValueAsString

      Optional<T> getValueAsString(String value)
      Mappings:
      Namespace Name Mixin selector
      official b Lbmm;b(Ljava/lang/String;)Ljava/util/Optional;
      intermediary method_16973 Lnet/minecraft/class_2247;method_16973(Ljava/lang/String;)Ljava/util/Optional;
      named getValueAsString Lnet/minecraft/state/property/Property;getValueAsString(Ljava/lang/String;)Ljava/util/Optional;
    • name

      String name(T value)
      Mappings:
      Namespace Name Mixin selector
      official a Lbmm;a(Ljava/lang/Comparable;)Ljava/lang/String;
      intermediary method_9080 Lnet/minecraft/class_2247;method_9080(Ljava/lang/Comparable;)Ljava/lang/String;
      named name Lnet/minecraft/state/property/Property;name(Ljava/lang/Comparable;)Ljava/lang/String;