1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-01 22:22:59 +00:00

Deprecate itemGroups field

Since 1.19.3, this was only populated when the player opened the
creative menu, and so was useless in survival or multi-player
worlds.

Rather than removing the field entirely (🦑 backwards compatibility), we
replace it with the empty list. We also remove it from the docs, and add
a note explaining what the field used to do.

Closes #1285, albeit in the least satisfactory way possible.
This commit is contained in:
Jonathan Coates
2023-06-08 20:32:50 +01:00
parent cba207d62d
commit 68ef9f717b
6 changed files with 11 additions and 64 deletions

View File

@@ -256,12 +256,6 @@ public class PlatformHelperImpl implements PlatformHelper {
return fuel == null ? 0 : fuel;
}
@Nullable
@Override
public ResourceLocation getCreativeTabId(CreativeModeTab tab) {
return tab.getId();
}
@Override
public ItemStack getCraftingRemainingItem(ItemStack stack) {
return stack.getRecipeRemainder();