net.minecraft.world.level.block.state

public abstract class AbstractStateHolder<O, S>

implements StateHolder<S>

bvs
net.minecraft.world.level.block.state.AbstractStateHolder
net.minecraft.class_2679
net.minecraft.state.AbstractState
net.minecraft.state.StateHolder
net.minecraft.server.v1_14_R1.BlockDataAbstract

Field summary

Modifier and TypeField
private static final Function<Map$Entry<Property<?>, Comparable<?>>, String>
c
PROPERTY_ENTRY_TO_STRING_FUNCTION
field_12289
PROPERTY_MAP_PRINTER
field_177233_b
STATE_TO_VALUE
protected final O
a
owner
field_12287
owner
field_206876_a
private final com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>>
d
values
field_12285
entries
field_206877_c
private final int
e
hashCode
field_12286
hashCode
field_206878_d
private com.google.common.collect.Table<Property<?>, Comparable<?>, S>
f
neighbours
field_12288
withTable
field_206879_e

Constructor summary

ModifierConstructor
protected (O owner, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> entries)

Method summary

Modifier and TypeMethod
public <T extends Comparable<T>> S
a(bww<T> arg0)
cycle(Property<T> arg0)
method_11572(class_2769<T> arg0)
cycle(Property<T> property)
func_177231_a(IProperty<T> arg0)
protected static <T> T
a(Collection<T> arg0, T arg1)
findNextInCollection(Collection<T> arg0, T arg1)
method_11574(Collection<T> arg0, T arg1)
getNext(Collection<T> values, T value)
func_177232_a(Collection<T> arg0, T arg1)
public Collection<Property<?>>
a()
getProperties()
method_11569()
getProperties()
func_206869_a()
public <T extends Comparable<T>> boolean
b(bww<T> arg0)
hasProperty(Property<T> arg0)
method_11570(class_2769<T> arg0)
contains(Property<T> property)
func_196959_b(IProperty<T> arg0)
public <T extends Comparable<T>> T
c(bww<T> arg0)
getValue(Property<T> arg0)
method_11654(class_2769<T> arg0)
get(Property<T> arg0)
func_177229_b(IProperty<T> arg0)
get(IBlockState<T> arg0)
public <T extends Comparable<T>, V extends T> S
a(bww<T> arg0, V arg1)
setValue(Property<T> arg0, V arg1)
method_11657(class_2769<T> arg0, V arg1)
with(Property<T> arg0, V arg1)
func_206870_a(IProperty<T> arg0, V arg1)
set(IBlockState<T> arg0, V arg1)
public void
a(Map<Map<bww<?>, Comparable<?>>, S> arg0)
populateNeighbours(Map<Map<Property<?>, Comparable<?>>, S> arg0)
method_11571(Map<Map<class_2769<?>, Comparable<?>>, S> arg0)
createWithTable(Map<Map<Property<?>, Comparable<?>>, S> states)
func_206874_a(Map<Map<IProperty<?>, Comparable<?>>, S> arg0)
private Map<Property<?>, Comparable<?>>
c(bww<?> arg0, Comparable<?> arg1)
makeNeighbourValues(Property<?> arg0, Comparable<?> arg1)
method_11573(class_2769<?> arg0, Comparable<?> arg1)
toMapWith(Property<?> property, Comparable<?> value)
func_206875_b(IProperty<?> arg0, Comparable<?> arg1)
public com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>>
b()
getValues()
method_11656()
getEntries()
func_206871_b()
getStateMap()