Class BlockStatePropertyDefinition

java.lang.Object
com.zenith.mc.block.BlockStatePropertyDefinition

public class BlockStatePropertyDefinition extends Object
  • Constructor Details

    • BlockStatePropertyDefinition

      public BlockStatePropertyDefinition(Property<?>... inputProperties)
  • Method Details

    • getValue

      public <T extends Comparable<T>> @Nullable T getValue(Property<T> property, int stateIdOffset)
    • hasProperty

      public boolean hasProperty(Property<?> property)
    • getProperties

      public it.unimi.dsi.fastutil.objects.ReferenceSet<Property<?>> getProperties()
    • getPropertiesByName

      public com.google.common.collect.ImmutableSortedMap<String, Property<?>> getPropertiesByName()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getStates

      public it.unimi.dsi.fastutil.ints.Int2ObjectMap<IdentityHashMap<Property<?>, Comparable<?>>> getStates()