Skip to content

Commit

Permalink
fix: add otherworld material to fitting vanilla tags
Browse files Browse the repository at this point in the history
See #1155
  • Loading branch information
klikli-dev committed Jul 19, 2024
1 parent 566b95c commit 048a00f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/generated/resources/data/c/tags/item/stones.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"occultism:otherstone",
"occultism:otherstone_natural"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"occultism:otherworld_log",
"occultism:otherworld_log_natural"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.klikli_dev.occultism.datagen.tags;

import com.klikli_dev.occultism.Occultism;
import com.klikli_dev.occultism.registry.OccultismBlocks;
import com.klikli_dev.occultism.registry.OccultismItems;
import com.klikli_dev.occultism.registry.OccultismTags;
import net.minecraft.core.HolderLookup;
Expand Down Expand Up @@ -87,6 +88,14 @@ private void addMinecraftTags(HolderLookup.Provider provider) {

this.tag(ItemTags.DURABILITY_ENCHANTABLE).addTag(OccultismTags.Items.Miners.MINERS);

this.tag(ItemTags.LOGS_THAT_BURN)
.add(OccultismBlocks.OTHERWORLD_LOG.asItem())
.add(OccultismBlocks.OTHERWORLD_LOG_NATURAL.asItem());

this.tag(Tags.Items.STONES)
.add(OccultismBlocks.OTHERSTONE.asItem())
.add(OccultismBlocks.OTHERSTONE_NATURAL.asItem());

this.tag(ItemTags.CLUSTER_MAX_HARVESTABLES).add(OccultismItems.INFUSED_PICKAXE.get(),OccultismItems.IESNIUM_PICKAXE.get()).replace(false);
this.copy(BlockTags.LEAVES,ItemTags.LEAVES);
this.copy(BlockTags.LOGS,ItemTags.LOGS);
Expand Down

0 comments on commit 048a00f

Please sign in to comment.