Exemple #1
0
 public static uint GetGlobalPaletteIDFromState(BlockState state)
 {
     return(stateToId[state]);
 }
Exemple #2
0
 private static void add(BlockState state)
 {
     idToState[state.id]     = state;
     stateToId[state]        = state.id;
     nameToState[state.name] = state;
 }