Class IntegerProperty
java.lang.Object
net.minecraft.world.level.block.state.properties.Property<Integer>
net.minecraft.world.level.block.state.properties.IntegerProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.state.properties.Property
Property.Value<T extends Comparable<T>>
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
IntegerProperty
(String p_61623_, int p_61624_, int p_61625_) -
Method Summary
Methods inherited from class net.minecraft.world.level.block.state.properties.Property
codec, getAllValues, getName, getValueClass, hashCode, parseValue, toString, value, value, valueCodec
-
Field Details
-
values
-
min
private final int min -
max
private final int max
-
-
Constructor Details
-
IntegerProperty
-
-
Method Details
-
getPossibleValues
- Specified by:
getPossibleValues
in classProperty<Integer>
-
equals
-
generateHashCode
public int generateHashCode()- Overrides:
generateHashCode
in classProperty<Integer>
-
create
-
getValue
-
getName
-