net.minecraft.state

public abstract class AbstractState<O, S>

implements State<S>

bvj
net.minecraft.class_2679
net.minecraft.state.AbstractState
net.minecraft.state.StateHolder
net.minecraft.state.StateHolder

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public <T extends Comparable<T>> S
a(bwn<T> arg0)
method_11572(class_2769<T> arg0)
cycle(Property<T> property)
func_177231_a(IProperty<T> arg0)
cycle(IProperty<T> property)
protected static <T> T
a(Collection<T> arg0, T arg1)
method_11574(Collection<T> arg0, T arg1)
findNext(Collection<T> values, T current)
func_177232_a(Collection<T> arg0, T arg1)
cyclePropertyValue(Collection<T> values, T currentValue)
public Collection<Property<?>>
a()
method_11569()
properties()
func_206869_a()
getProperties()
public <T extends Comparable<T>> boolean
b(bwn<T> arg0)
method_11570(class_2769<T> arg0)
has(Property<T> property)
func_196959_b(IProperty<T> arg0)
has(IProperty<T> property)
public <T extends Comparable<T>> T
c(bwn<T> arg0)
method_11654(class_2769<T> arg0)
get(Property<T> arg0)
func_177229_b(IProperty<T> arg0)
get(IProperty<T> arg0)
public <T extends Comparable<T>, V extends T> S
a(bwn<T> arg0, V arg1)
method_11657(class_2769<T> arg0, V arg1)
set(Property<T> arg0, V arg1)
func_206870_a(IProperty<T> arg0, V arg1)
with(IProperty<T> arg0, V arg1)
public void
a(Map<Map<bwn<?>, Comparable<?>>, S> arg0)
method_11571(Map<Map<class_2769<?>, Comparable<?>>, S> arg0)
findNeighbors(Map<Map<Property<?>, Comparable<?>>, S> statesByValues)
func_206874_a(Map<Map<IProperty<?>, Comparable<?>>, S> arg0)
buildPropertyValueTable(Map<Map<IProperty<?>, Comparable<?>>, S> map)
private Map<Property<?>, Comparable<?>>
c(bwn<?> arg0, Comparable<?> arg1)
method_11573(class_2769<?> arg0, Comparable<?> arg1)
getNeighborValues(Property<?> property, Comparable<?> value)
func_206875_b(IProperty<?> arg0, Comparable<?> arg1)
getPropertiesWithValue(IProperty<?> property, Comparable<?> value)
public com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>>
b()
method_11656()
values()
func_206871_b()
getValues()