net.minecraft.world.level.block.state.properties

public class EnumProperty<T extends Enum<T> extends StringRepresentable>

extends Property<T>

cfe
net.minecraft.world.level.block.state.properties.EnumProperty
net.minecraft.class_2754
net.minecraft.unmapped.C_cgckxfsw
net.minecraft.state.property.EnumProperty
net.minecraft.state.EnumProperty
net.minecraft.server.v1_16_R3.BlockStateEnum

Field summary

Modifier and TypeField
private final com.google.common.collect.ImmutableSet<T>
a
values
field_12595
f_ojizbret
values
field_177711_a
private final Map<String, T>
b
names
field_12596
f_tuljvjpy
byName
field_177710_b

Constructor summary

ModifierConstructor
protected (String name, Class<T> type, Collection<T> values)

Method summary

Modifier and TypeMethod
public Collection<T>
a()
getPossibleValues()
method_11898()
m_jejjdmtc()
getValues()
func_177700_c()
getValues()
public Optional<T>
b(String arg0)
getValue(String arg0)
method_11900(String arg0)
m_umgcucjc(String arg0)
parse(String arg0)
func_185929_b(String arg0)
public String
a(T arg0)
getName(T arg0)
method_11846(T arg0)
m_aldrvuzc(T arg0)
name(T arg0)
func_177702_a(T arg0)
public int
b()
generateHashCode()
method_11799()
m_rdgegnio()
computeHashCode()
func_206906_c()
public static <T extends Enum<T> extends StringRepresentable> EnumProperty<T>
a(String arg0, Class<T> arg1)
create(String arg0, Class<T> arg1)
method_11850(String arg0, Class<T> arg1)
m_kyopntfc(String arg0, Class<T> arg1)
of(String name, Class<T> type)
func_177709_a(String arg0, Class<T> arg1)
of(String arg0, Class<T> arg1)
public static <T extends Enum<T> extends StringRepresentable> EnumProperty<T>
a(String arg0, Class<T> arg1, Predicate<T> arg2)
create(String arg0, Class<T> arg1, Predicate<T> arg2)
method_11848(String arg0, Class<T> arg1, Predicate<T> arg2)
m_iruebiqb(String arg0, Class<T> arg1, Predicate<T> arg2)
of(String name, Class<T> type, Predicate<T> filter)
func_177708_a(String arg0, Class<T> arg1, Predicate<T> arg2)
public static <T extends Enum<T> extends StringRepresentable> EnumProperty<T>
a(String arg0, Class<T> arg1, T... arg2)
create(String arg0, Class<T> arg1, T... arg2)
method_11849(String arg0, Class<T> arg1, T... arg2)
m_bwnxhtoo(String arg0, Class<T> arg1, T... arg2)
of(String name, Class<T> type, T... values)
func_177706_a(String arg0, Class<T> arg1, T... arg2)
of(String arg0, Class<T> arg1, T... arg2)
public static <T extends Enum<T> extends StringRepresentable> EnumProperty<T>
a(String arg0, Class<T> arg1, Collection<T> arg2)
create(String arg0, Class<T> arg1, Collection<T> arg2)
method_11847(String arg0, Class<T> arg1, Collection<T> arg2)
m_tftrudtv(String arg0, Class<T> arg1, Collection<T> arg2)
of(String name, Class<T> type, Collection<T> values)
func_177707_a(String arg0, Class<T> arg1, Collection<T> arg2)