Class BooleanProperty

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

public class BooleanProperty
extends AbstractProperty<Boolean>
Mappings:
Namespace Name
official amk
intermediary net/minecraft/class_388
named net/minecraft/state/property/BooleanProperty
  • Field Details

    • values

      private final ImmutableSet<Boolean> values
      Mappings:
      Namespace Name Mixin selector
      official a Lamk;a:Lcom/google/common/collect/ImmutableSet;
      intermediary field_1540 Lnet/minecraft/class_388;field_1540: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> Lamk;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_388;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/state/property/BooleanProperty;<init>(Ljava/lang/String;)V
  • Method Details

    • getValues

      public Collection<Boolean> 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;
    • of

      public static BooleanProperty of​(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lamk;a(Ljava/lang/String;)Lamk;
      intermediary method_1267 Lnet/minecraft/class_388;method_1267(Ljava/lang/String;)Lnet/minecraft/class_388;
      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 Lamk;a(Ljava/lang/Boolean;)Ljava/lang/String;
      intermediary method_1266 Lnet/minecraft/class_388;method_1266(Ljava/lang/Boolean;)Ljava/lang/String;
      named name Lnet/minecraft/state/property/BooleanProperty;name(Ljava/lang/Boolean;)Ljava/lang/String;