net.minecraft.state

record StateManager$StateCache<S extends State<?, ?>>

net.minecraft.world.level.block.state.StateDefinition$StateCollection
net.minecraft.class_2689$class_1_475
net.minecraft.state.StateManager$StateCache

Field summary

Modifier and TypeField
private final Map<List<Comparable<?>>, S>
statesByValues
comp_1_388
statesByValues
private final Map<List<Comparable<?>>, S[]>
statesByPivotCache
comp_1_387
statesByPivotCache
static final boolean
$assertionsDisabled
field_1_2494
field_1_2494

Constructor summary

ModifierConstructor
(Map<List<Comparable<?>>, S> statesByValues, Map<List<Comparable<?>>, S[]> statesByPivotCache)

Method summary

Modifier and TypeMethod
public S[][]
fillNeighborsForState(Property<?>[] propertyKeys, List<Comparable<?>> propertyValues)
method_1_3028(class_2769<?>[] arg0, List<Comparable<?>> arg1)
getWithMap(Property<?>[] properties, List<Comparable<?>> values)
private <T extends Comparable<T>> S[]
fillStatesForPivot(List<Comparable<?>> valuesKey, Property<T> pivot, int pivotIndex)
method_1_3029(List<Comparable<?>> arg0, class_2769<T> arg1, int arg2)
getOrComputeDerivedStatesArray(List<Comparable<?>> values, Property<T> property, int propertyIndex)
private <T extends Comparable<T>> S[]
computeStatesForPivot(List<Comparable<?>> valuesKey, Property<T> pivot, int pivotIndex)
method_1_3027(List<Comparable<?>> arg0, class_2769<T> arg1, int arg2)
computeDerivedStatesArray(List<Comparable<?>> values, Property<T> property, int propertyIndex)
public Map<List<Comparable<?>>, S>
statesByValues()
comp_1_388()
statesByValues()
public Map<List<Comparable<?>>, S[]>
statesByPivotCache()
comp_1_387()
statesByPivotCache()