Deprecate ActuallyItem and DrillAugmentItem

They both have replacements and are unused
This commit is contained in:
Mrbysco 2024-03-09 16:03:33 +01:00
parent 4b55999af3
commit f758e8beac
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,8 @@ import net.minecraft.world.item.Item;
* I'm using a custom class here as I'm sure we'll need a unified way of declaring rules * I'm using a custom class here as I'm sure we'll need a unified way of declaring rules
* but also so we can always know if something is ours in the simplest form. * but also so we can always know if something is ours in the simplest form.
*/ */
// Superseded by ItemBase
@Deprecated
public abstract class ActuallyItem extends Item implements IActuallyItem { public abstract class ActuallyItem extends Item implements IActuallyItem {
public ActuallyItem(Properties properties) { public ActuallyItem(Properties properties) {
super(properties); super(properties);

View file

@ -3,6 +3,8 @@ package de.ellpeck.actuallyadditions.mod.items.misc;
import de.ellpeck.actuallyadditions.mod.items.base.ActuallyItem; import de.ellpeck.actuallyadditions.mod.items.base.ActuallyItem;
// Superseded by ItemDrillUpgrade
@Deprecated
public class DrillAugmentItem extends ActuallyItem { public class DrillAugmentItem extends ActuallyItem {
private final AugmentType type; private final AugmentType type;