mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-04 04:18:33 +01:00
Explicitly made the Drill unbreakable.
This commit is contained in:
parent
38d6404b62
commit
424427fd4c
1 changed files with 2 additions and 5 deletions
|
@ -53,11 +53,7 @@ import net.neoforged.neoforge.items.IItemHandler;
|
|||
import net.neoforged.neoforge.items.IItemHandlerModifiable;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import java.util.*;
|
||||
|
||||
public class DrillItem extends ItemEnergy {
|
||||
public static final int HARVEST_LEVEL = 4;
|
||||
|
@ -70,6 +66,7 @@ public class DrillItem extends ItemEnergy {
|
|||
public DrillItem() {
|
||||
super(ActuallyItems.defaultProps()
|
||||
.stacksTo(1)
|
||||
.component(DataComponents.UNBREAKABLE, new Unbreakable(false))
|
||||
.component(DataComponents.TOOL, Tiers.NETHERITE.createToolProperties(ActuallyTags.Blocks.MINEABLE_WITH_DRILL))
|
||||
, 250000, 1000);
|
||||
|
||||
|
|
Loading…
Reference in a new issue