mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Deprecate IForgeAbstractMinecart::getCartItem (#8283)
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user