Update to 23w18a

This commit is contained in:
shedaniel
2023-05-09 02:17:27 +08:00
parent 8c5e912cd1
commit 863ba5ced9
30 changed files with 470 additions and 366 deletions

View File

@@ -130,7 +130,7 @@ public class CreativeTabRegistryImpl {
}
@ApiStatus.Experimental
public static TabSupplier of(CreativeModeTab tab) {
public static TabSupplier ofBuiltin(CreativeModeTab tab) {
ResourceLocation location = CreativeModeTabRegistry.getName(tab);
if (location == null) {
throw new IllegalArgumentException("Tab %s is not registered!".formatted(tab));