Mining tags

This commit is contained in:
paulevsGitch 2021-07-12 10:03:13 +03:00
parent f4a88c277b
commit 0a2b6d9977
2 changed files with 6 additions and 0 deletions

View file

@ -29,6 +29,11 @@ public class TagAPI {
public static final Tag.Named<Block> DRAGON_IMMUNE = getMCBlockTag("dragon_immune");
public static final Tag.Named<Block> MINEABLE_AXE = getMCBlockTag("mineable/axe");
public static final Tag.Named<Block> MINEABLE_PICKAXE = getMCBlockTag("mineable/pickaxe");
public static final Tag.Named<Block> MINEABLE_SHOVEL = getMCBlockTag("mineable/shovel");
public static final Tag.Named<Block> MINEABLE_HOE = getMCBlockTag("mineable/hoe");
// Item Tags
public static final Tag.Named<Item> ITEM_CHEST = makeCommonItemTag("chest");
public static final Tag.Named<Item> IRON_INGOTS = makeCommonItemTag("iron_ingots");

View file

@ -5,6 +5,7 @@ import net.minecraft.world.level.block.state.properties.Property;
import java.util.*;
@Deprecated
public class StringProperty extends Property<String> {
private final Set<String> values;