Class IgnoredBlockStatus.PropertyStatus
java.lang.Object
net.minecraft.world.level.block.state.properties.Property<IgnoredBlockStatus.Status>
net.minecraft.world.level.block.state.properties.EnumProperty<IgnoredBlockStatus.Status>
org.cyclops.integrateddynamics.core.block.IgnoredBlockStatus.PropertyStatus
- Enclosing class:
IgnoredBlockStatus
public static class IgnoredBlockStatus.PropertyStatus
extends net.minecraft.world.level.block.state.properties.EnumProperty<IgnoredBlockStatus.Status>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.state.properties.Property
net.minecraft.world.level.block.state.properties.Property.Value<T extends Comparable<T>>
-
Constructor Summary
ModifierConstructorDescriptionprotected
PropertyStatus
(String name, Collection<IgnoredBlockStatus.Status> values) -
Method Summary
Modifier and TypeMethodDescriptionCreate a new PropertyStatus with all Enum constants of the given class.create
(String name, com.google.common.base.Predicate<IgnoredBlockStatus.Status> filter) Create a new PropertyStatus with all Enum constants of the given class.create
(String name, Collection<IgnoredBlockStatus.Status> values) Create a new PropertyStatus with all Enum constants of the given class.Methods inherited from class net.minecraft.world.level.block.state.properties.EnumProperty
create, create, create, create, equals, generateHashCode, getName, getPossibleValues, getValue
Methods inherited from class net.minecraft.world.level.block.state.properties.Property
codec, getAllValues, getName, getValueClass, hashCode, parseValue, toString, value, value, valueCodec
-
Constructor Details
-
PropertyStatus
-
-
Method Details
-
create
Create a new PropertyStatus with all Enum constants of the given class.- Parameters:
name
- The property name.- Returns:
- The property
-
create
public static IgnoredBlockStatus.PropertyStatus create(String name, com.google.common.base.Predicate<IgnoredBlockStatus.Status> filter) Create a new PropertyStatus with all Enum constants of the given class.- Parameters:
name
- The property name.filter
- The filter for checking property values.- Returns:
- The property
-
create
public static IgnoredBlockStatus.PropertyStatus create(String name, Collection<IgnoredBlockStatus.Status> values) Create a new PropertyStatus with all Enum constants of the given class.- Parameters:
name
- The property name.values
- The possible property values.- Returns:
- The property
-