[Fix] Correct Tags for Dragon-Immune (#11)
This commit is contained in:
parent
6c79046ef7
commit
0f5d4e73fa
3 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
package org.betterx.betterend.complexmaterials;
|
||||
|
||||
import org.betterx.bclib.api.v2.tag.CommonBlockTags;
|
||||
import org.betterx.bclib.api.v2.tag.NamedBlockTags;
|
||||
import org.betterx.bclib.api.v2.tag.NamedItemTags;
|
||||
import org.betterx.bclib.api.v2.tag.TagAPI;
|
||||
|
@ -27,6 +26,7 @@ import org.betterx.betterend.recipe.builders.AlloyingRecipe;
|
|||
import org.betterx.betterend.registry.EndBlocks;
|
||||
import org.betterx.betterend.registry.EndItems;
|
||||
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.tags.TagKey;
|
||||
import net.minecraft.world.entity.EquipmentSlot;
|
||||
import net.minecraft.world.item.ArmorMaterial;
|
||||
|
@ -509,6 +509,6 @@ public class MetalMaterial {
|
|||
TagAPI.addBlockTag(NamedBlockTags.ANVIL, anvilBlock);
|
||||
TagAPI.addBlockTag(NamedBlockTags.BEACON_BASE_BLOCKS, block);
|
||||
TagAPI.addItemTag(NamedItemTags.BEACON_PAYMENT_ITEMS, ingot);
|
||||
TagAPI.addBlockTag(CommonBlockTags.DRAGON_IMMUNE, ore, bars);
|
||||
TagAPI.addBlockTag(BlockTags.DRAGON_IMMUNE, ore, bars);
|
||||
}
|
||||
}
|
|
@ -12,6 +12,7 @@ import org.betterx.betterend.recipe.CraftingRecipes;
|
|||
import org.betterx.betterend.registry.EndBlocks;
|
||||
import org.betterx.betterend.registry.EndItems;
|
||||
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.world.level.material.MaterialColor;
|
||||
|
@ -187,7 +188,7 @@ public class StoneMaterial {
|
|||
TagAPI.addBlockTags(pressurePlate, NamedBlockTags.PRESSURE_PLATES, NamedBlockTags.STONE_PRESSURE_PLATES);
|
||||
TagAPI.addBlockTag(CommonBlockTags.END_STONES, stone);
|
||||
|
||||
TagAPI.addBlockTag(CommonBlockTags.DRAGON_IMMUNE, stone, stairs, slab, wall);
|
||||
TagAPI.addBlockTag(BlockTags.DRAGON_IMMUNE, stone, stairs, slab, wall);
|
||||
|
||||
TagAPI.addBlockTag(CommonBlockTags.END_STONES, stone);
|
||||
TagAPI.addBlockTag(CommonBlockTags.END_STONES, stone);
|
||||
|
|
|
@ -11,6 +11,7 @@ import org.betterx.betterend.blocks.basis.PedestalBlock;
|
|||
import org.betterx.betterend.item.tool.EndHammerItem;
|
||||
import org.betterx.betterend.world.biome.EndBiome;
|
||||
|
||||
import net.minecraft.tags.BlockTags;
|
||||
import net.minecraft.tags.TagKey;
|
||||
import net.minecraft.world.food.FoodProperties;
|
||||
import net.minecraft.world.item.Item;
|
||||
|
@ -109,7 +110,7 @@ public class EndTags {
|
|||
TagAPI.addBlockTag(NamedBlockTags.BEACON_BASE_BLOCKS, EndBlocks.AETERNIUM_BLOCK);
|
||||
TagAPI.addItemTag(NamedItemTags.BEACON_PAYMENT_ITEMS, EndItems.AETERNIUM_INGOT);
|
||||
TagAPI.addBlockTag(
|
||||
CommonBlockTags.DRAGON_IMMUNE,
|
||||
BlockTags.DRAGON_IMMUNE,
|
||||
EndBlocks.ENDER_ORE,
|
||||
EndBlocks.ETERNAL_PEDESTAL,
|
||||
EndBlocks.FLAVOLITE_RUNED_ETERNAL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue