Deprecated methods to remove or move in 1.17
KnightMiner opened this issue ยท 2 comments
This issue is to keep track of methods that are marked for removal in 1.17, so whoever ports the mod has an easier time tracking.
-
InventoryBlock#dropInventoryItems(BlockState, World, BlockPos, InventoryTileEntity): Replaced withIItemHandlermethod -
slimeknights.mantle.multiblock: Moved to Tinkers Construct as that was the only mod using it and it needed rewrites. Will pull back the updated version if any dependency requests it. -
InventoryTileEntity.inventoryTitle: Separated into two fields, one for custom name and one for regular so we can tell them apart. -
RenderingHelper.drawHoveringText: Reimplemented in Forge, can use Forge util directly. -
BookHelper.getSavedPage: Renamed to getCurrentSavedPage -
BookHelper.writeSavedPage: Renamed to writeSavedPageToBook -
slimeknights.mantle.client.screen.book.BookmarkButton: Has been unused since 1.13 port of books -
AddEntryLootModifierdeprecated constructor -
ReplaceItemLootModifierdeprecated constructor
Reduced protection levels:
-
RetexturedLootFunction: Make serializer constructor private -
IngredientIntersection: Make constructors protected -
IngredientWithout: Make constructors protected, consider rename toIngredientDifference
Packages and renames:
- Move
SizedIngredient,EntityIngredient, andFluidIngredientinto the newrecipe.ingredientpackage - Move
BookTransformerinto theclient.book.transformerpackage - Move
RetexturedLootFunctioninto the newloot.functionpackage -
IngredientWithout: Rename toIngredientDifference
Completed all of the book-related ones in 982588f