Search results

  1. X

    Question World#setGameRule

    Goal: set given world's gamerule from a gamerule string (e.g. "doInsomnia") Problem: return type of GameRule#getByName() World#setGameRule() requires GameRule<T> as its rule parameter, but GameRule#getByName() provides GameRule<?> the following code works, but the compiler complains: String...