Added missing mineable Tags
This commit is contained in:
parent
c1474de774
commit
7d0df8c4dd
6 changed files with 11 additions and 6 deletions
|
@ -11,6 +11,7 @@ import org.betterx.worlds.together.tag.v3.CommonItemTags;
|
|||
|
||||
import net.minecraft.data.recipes.RecipeCategory;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
|
||||
|
@ -31,7 +32,7 @@ public class Barrel extends SimpleMaterialSlot<WoodenComplexMaterial> {
|
|||
|
||||
@Override
|
||||
protected void modifyBlockEntry(WoodenComplexMaterial parentMaterial, @NotNull BlockEntry entry) {
|
||||
entry.setBlockTags(CommonBlockTags.BARREL, CommonBlockTags.WOODEN_BARREL)
|
||||
entry.setBlockTags(BlockTags.MINEABLE_WITH_AXE, CommonBlockTags.BARREL, CommonBlockTags.WOODEN_BARREL)
|
||||
.setItemTags(CommonItemTags.BARREL, CommonItemTags.WOODEN_BARREL);
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ import org.betterx.worlds.together.tag.v3.CommonBlockTags;
|
|||
|
||||
import net.minecraft.data.recipes.RecipeCategory;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.world.item.Items;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
|
@ -31,7 +32,7 @@ public class Bookshelf extends SimpleMaterialSlot<WoodenComplexMaterial> {
|
|||
|
||||
@Override
|
||||
protected void modifyBlockEntry(WoodenComplexMaterial parentMaterial, @NotNull BlockEntry entry) {
|
||||
entry.setBlockTags(CommonBlockTags.BOOKSHELVES);
|
||||
entry.setBlockTags(BlockTags.MINEABLE_WITH_AXE, CommonBlockTags.BOOKSHELVES);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,6 +11,7 @@ import org.betterx.worlds.together.tag.v3.CommonItemTags;
|
|||
|
||||
import net.minecraft.data.recipes.RecipeCategory;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
|
||||
|
@ -31,7 +32,7 @@ public class Chest extends SimpleMaterialSlot<WoodenComplexMaterial> {
|
|||
|
||||
@Override
|
||||
protected void modifyBlockEntry(WoodenComplexMaterial parentMaterial, @NotNull BlockEntry entry) {
|
||||
entry.setBlockTags(CommonBlockTags.CHEST, CommonBlockTags.WOODEN_CHEST)
|
||||
entry.setBlockTags(BlockTags.MINEABLE_WITH_AXE, CommonBlockTags.CHEST, CommonBlockTags.WOODEN_CHEST)
|
||||
.setItemTags(CommonItemTags.CHEST, CommonItemTags.WOODEN_CHEST);
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ import org.betterx.worlds.together.tag.v3.CommonPoiTags;
|
|||
|
||||
import net.minecraft.data.recipes.RecipeCategory;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
|
||||
|
@ -30,7 +31,7 @@ public class Composter extends SimpleMaterialSlot<WoodenComplexMaterial> {
|
|||
|
||||
@Override
|
||||
protected void modifyBlockEntry(WoodenComplexMaterial parentMaterial, @NotNull BlockEntry entry) {
|
||||
entry.setBlockTags(CommonPoiTags.FARMER_WORKSTATION);
|
||||
entry.setBlockTags(BlockTags.MINEABLE_WITH_AXE, CommonPoiTags.FARMER_WORKSTATION);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,6 +11,7 @@ import org.betterx.worlds.together.tag.v3.CommonItemTags;
|
|||
|
||||
import net.minecraft.data.recipes.RecipeCategory;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
|
||||
|
@ -31,7 +32,7 @@ public class CraftingTable extends SimpleMaterialSlot<WoodenComplexMaterial> {
|
|||
|
||||
@Override
|
||||
protected void modifyBlockEntry(WoodenComplexMaterial parentMaterial, @NotNull BlockEntry entry) {
|
||||
entry.setBlockTags(CommonBlockTags.WORKBENCHES)
|
||||
entry.setBlockTags(BlockTags.MINEABLE_WITH_AXE, CommonBlockTags.WORKBENCHES)
|
||||
.setItemTags(CommonItemTags.WORKBENCHES);
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ public class Ladder extends SimpleMaterialSlot<WoodenComplexMaterial> {
|
|||
|
||||
@Override
|
||||
protected void modifyBlockEntry(WoodenComplexMaterial parentMaterial, @NotNull BlockEntry entry) {
|
||||
entry.setBlockTags(BlockTags.CLIMBABLE);
|
||||
entry.setBlockTags(BlockTags.MINEABLE_WITH_AXE, BlockTags.CLIMBABLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue