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 amo
intermediary net/minecraft/class_392
named net/minecraft/state/property/Property
  • Method Details

    • getName

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

      Collection<T> getValues()
      Mappings:
      Namespace Name Mixin selector
      official c Lamo;c()Ljava/util/Collection;
      intermediary method_1281 Lnet/minecraft/class_392;method_1281()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 Lamo;b()Ljava/lang/Class;
      intermediary method_1280 Lnet/minecraft/class_392;method_1280()Ljava/lang/Class;
      named getType Lnet/minecraft/state/property/Property;getType()Ljava/lang/Class;
    • name

      String name​(T value)
      Mappings:
      Namespace Name Mixin selector
      official a Lamo;a(Ljava/lang/Comparable;)Ljava/lang/String;
      intermediary method_1279 Lnet/minecraft/class_392;method_1279(Ljava/lang/Comparable;)Ljava/lang/String;
      named name Lnet/minecraft/state/property/Property;name(Ljava/lang/Comparable;)Ljava/lang/String;