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

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

extends Property<T>

clr
net.minecraft.world.level.block.state.properties.EnumProperty
net.minecraft.class_2754
net.minecraft.unmapped.C_cgckxfsw
net.minecraft.state.property.EnumProperty
net.minecraft.src.C_2092_
net.minecraft.world.level.block.state.properties.BlockStateEnum

Field summary

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

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()
m_6908_()
getValues()
public Optional<T>
b(String arg0)
getValue(String arg0)
method_11900(String arg0)
m_umgcucjc(String arg0)
parse(String arg0)
m_6215_(String arg0)
public String
a(T arg0)
getName(T arg0)
method_11846(T arg0)
m_aldrvuzc(T arg0)
name(T arg0)
m_6940_(T arg0)
public int
b()
generateHashCode()
method_11799()
m_rdgegnio()
computeHashCode()
m_6310_()
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)
m_61587_(String p_61588_, Class<T> p_61589_)
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)
m_61594_(String p_61595_, Class<T> p_61596_, Predicate<T> p_61597_)
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)
m_61598_(String p_61599_, Class<T> p_61600_, T... p_61601_)
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)
m_61590_(String p_61591_, Class<T> p_61592_, Collection<T> p_61593_)