mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
Remove some deprecated methods and clean up
This commit is contained in:
1 parent
7892ca922c
commit
9a09ff68aa
28 files changed
+45
-444
No files matched your search
@@ -51,15 +51,6 @@ public class BonemealEvent extends PlayerEvent
|
||||
private final EnumHand hand;
|
||||
private final ItemStack stack;
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #BonemealEvent(EntityPlayer, World, BlockPos, IBlockState, EnumHand, ItemStack)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public BonemealEvent(EntityPlayer player, World world, BlockPos pos, IBlockState block)
|
||||
{
|
||||
this(player, world, pos, block, null, ItemStack.EMPTY);
|
||||
}
|
||||
|
||||
public BonemealEvent(@Nonnull EntityPlayer player, @Nonnull World world, @Nonnull BlockPos pos, @Nonnull IBlockState block, @Nullable EnumHand hand,
|
||||
@Nonnull ItemStack stack)
|
||||
{
|
||||
|
||||
@@ -318,14 +318,6 @@ public class PlayerInteractEvent extends PlayerEvent
|
||||
{
|
||||
super(player, EnumHand.MAIN_HAND, new BlockPos(player), null);
|
||||
}
|
||||
|
||||
// TODO: remove
|
||||
/** @deprecated use {@link LeftClickEmpty(EntityPlayer)} */
|
||||
@Deprecated
|
||||
public LeftClickEmpty(EntityPlayer player, @Nonnull ItemStack stack)
|
||||
{
|
||||
this(player);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user