Deprecate IForgeAbstractMinecart::getCartItem (#8283)

This commit is contained in:
Joseph Tarbit authored and GitHub committed 2022-02-08 11:38:25 -08:00
1 parent dda1be91ea
commit 5e64ef9ecb
1 file changed
+3
@@ -62,7 +62,10 @@ public interface IForgeAbstractMinecart
* This should be an ItemStack that can be used by the player to place the cart,
* but is not necessary the item the cart drops when destroyed.
* @return An ItemStack that can be used to place the cart.
*
* @deprecated TODO Remove in 1.19 - use {@link AbstractMinecart#getPickResult()} instead
*/
@Deprecated(forRemoval = true)
default ItemStack getCartItem()
{
return new ItemStack(Items.MINECART);