net.minecraft.world.level.block.state

public class StateDefinition<O, S extends StateHolder<O, S>>

cfk
net.minecraft.world.level.block.state.StateDefinition
net.minecraft.class_2689
net.minecraft.unmapped.C_ezfeikaq
net.minecraft.state.StateManager
net.minecraft.state.StateContainer
net.minecraft.server.v1_16_R1.BlockStateList

Field summary

Modifier and TypeField
private static final Pattern
a
NAME_PATTERN
field_12314
f_uwlkpgmz
VALID_NAME_PATTERN
field_185921_a
private final O
b
owner
field_12317
f_rcgtpxta
owner
field_177627_c
private final com.google.common.collect.ImmutableSortedMap<String, Property<?>>
c
propertiesByName
field_12316
f_abumealy
properties
field_177624_d
private final com.google.common.collect.ImmutableList<S>
d
states
field_12315
f_jnjihwjk
states
field_177625_e

Constructor summary

ModifierConstructor
protected (Function<O, S> arg0, O arg1, StateDefinition$Factory<O, S> factory, Map<String, Property<?>> propertiesMap)

Method summary

Modifier and TypeMethod
private static <S extends StateHolder<?, S>, T extends Comparable<T>> com.mojang.serialization.MapCodec<S>
a(com.mojang.serialization.MapCodec<S> arg0, Supplier<S> arg1, String arg2, cgl<T> arg3)
appendPropertyCodec(com.mojang.serialization.MapCodec<S> arg0, Supplier<S> arg1, String arg2, Property<T> arg3)
method_30040(com.mojang.serialization.MapCodec<S> arg0, Supplier<S> arg1, String arg2, class_2769<T> arg3)
m_awxshyln(com.mojang.serialization.MapCodec<S> arg0, Supplier<S> arg1, String arg2, C_vzlztuyw<T> arg3)
method_30040(com.mojang.serialization.MapCodec<S> arg0, Supplier<S> arg1, String arg2, Property<T> arg3)
func_241487_a_(com.mojang.serialization.MapCodec<S> arg0, Supplier<S> arg1, String arg2, Property<T> arg3)
public com.google.common.collect.ImmutableList<S>
a()
getPossibleStates()
method_11662()
m_gmmlvrdp()
getStates()
func_177619_a()
public S
b()
any()
method_11664()
m_txztxpfq()
getDefaultState()
func_177621_b()
getBlockData()
public O
c()
getOwner()
method_11660()
m_alltwqrg()
getOwner()
func_177622_c()
getBlock()
public Collection<Property<?>>
d()
getProperties()
method_11659()
m_ctrmtsld()
getProperties()
func_177623_d()
public Property<?>
a(String arg0)
getProperty(String arg0)
method_11663(String arg0)
m_wvbitcxo(String arg0)
getProperty(String name)
func_185920_a(String arg0)