Skip to content

Commit

Permalink
fix: correctly use capturing not supported tag
Browse files Browse the repository at this point in the history
No longer add entities to it
  • Loading branch information
klikli-dev committed Aug 8, 2024
1 parent adda482 commit 94b6356
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"values": [
{
"id": "#c:capturing_not_supported",
"required": false
},
"minecraft:wither",
"minecraft:ender_dragon"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ private void addOccultismTags(HolderLookup.Provider pProvider) {
}

private void addCommonTags() {
this.tag(Tags.EntityTypes.CAPTURING_NOT_SUPPORTED).addTag(OccultismTags.Entities.SOUL_GEM_DENY_LIST);
this.tag(OccultismTags.Entities.SOUL_GEM_DENY_LIST).addOptionalTag(Tags.EntityTypes.CAPTURING_NOT_SUPPORTED);

this.tag(OccultismTags.Entities.SNOW_GOLEM).add(EntityType.SNOW_GOLEM).replace(false);
this.tag(OccultismTags.Entities.IRON_GOLEM).add(EntityType.IRON_GOLEM).replace(false);
this.tag(OccultismTags.Entities.AXOLOTL).add(EntityType.AXOLOTL).replace(false);
Expand Down

0 comments on commit 94b6356

Please sign in to comment.