Class BooleanProperty

java.lang.Object
net.minecraft.state.property.AbstractProperty
net.minecraft.state.property.BooleanProperty
All Implemented Interfaces:
Property

public class BooleanProperty extends AbstractProperty
Mappings:
Namespace Name
official bet
intermediary net/minecraft/class_2243
named net/minecraft/state/property/BooleanProperty
  • Field Details

    • values

      private final ImmutableSet values
      Mappings:
      Namespace Name Mixin selector
      official a Lbet;a:Lcom/google/common/collect/ImmutableSet;
      intermediary field_9924 Lnet/minecraft/class_2243;field_9924:Lcom/google/common/collect/ImmutableSet;
      named values Lnet/minecraft/state/property/BooleanProperty;values:Lcom/google/common/collect/ImmutableSet;
  • Constructor Details

    • BooleanProperty

      protected BooleanProperty(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbet;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2243;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/state/property/BooleanProperty;<init>(Ljava/lang/String;)V
  • Method Details

    • getValues

      public Collection getValues()
      Mappings:
      Namespace Name Mixin selector
      official c Lbex;c()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;
    • of

      public static BooleanProperty of(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lbet;a(Ljava/lang/String;)Lbet;
      intermediary method_9068 Lnet/minecraft/class_2243;method_9068(Ljava/lang/String;)Lnet/minecraft/class_2243;
      named of Lnet/minecraft/state/property/BooleanProperty;of(Ljava/lang/String;)Lnet/minecraft/state/property/BooleanProperty;
    • name

      public String name(Boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbet;a(Ljava/lang/Boolean;)Ljava/lang/String;
      intermediary method_9067 Lnet/minecraft/class_2243;method_9067(Ljava/lang/Boolean;)Ljava/lang/String;
      named name Lnet/minecraft/state/property/BooleanProperty;name(Ljava/lang/Boolean;)Ljava/lang/String;