Skip to content

Commit

Permalink
We'll allow api-10 to not be broke.
Browse files Browse the repository at this point in the history
This needs a far better fix in 11 but that comes with looking over DataPack objects as a whole.

Signed-off-by: Chris Sanders <zidane@spongepowered.org>
  • Loading branch information
Zidane committed Mar 31, 2024
1 parent 581d267 commit 0270a63
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ static Builder builder() {
return Sponge.game().builderProvider().provide(Builder.class).reset();
}

/**
* Returns the world type.
*
* @return The world type
*/
WorldType worldType();

interface Builder extends DataPackEntryBuilder<WorldType, WorldTypeTemplate, Builder> {

<V> Builder add(Key<? extends Value<V>> key, V value);
Expand Down

0 comments on commit 0270a63

Please sign in to comment.