Skip to content

Commit

Permalink
Make more hostile mobs powder snow immune and walkable
Browse files Browse the repository at this point in the history
  • Loading branch information
alcatrazEscapee committed Sep 5, 2024
1 parent f710d56 commit f71357e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{
"values": [
"minecraft:wolf",
"minecraft:wandering_trader",
"minecraft:trader_llama",
"minecraft:pillager",
"minecraft:illusioner",
"minecraft:vindicator",
"minecraft:witch"
"#minecraft:undead",
"#minecraft:raiders",
"minecraft:spider",
"minecraft:creeper"
]
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"values": [
"#minecraft:undead",
"#minecraft:raiders",
"minecraft:wolf",
"minecraft:wandering_trader",
"minecraft:trader_llama",
"minecraft:pillager",
"minecraft:illusioner",
"minecraft:vindicator",
"minecraft:witch"
"minecraft:spider",
"minecraft:creeper"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,20 @@ public BuiltinEntityTags(GatherDataEvent event)
@Override
protected void addTags(HolderLookup.Provider provider)
{
tag(EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPES).add(
EntityType.WOLF,
EntityType.WANDERING_TRADER,
EntityType.TRADER_LLAMA,
EntityType.PILLAGER,
EntityType.ILLUSIONER,
EntityType.VINDICATOR,
EntityType.WITCH);
tag(EntityTypeTags.POWDER_SNOW_WALKABLE_MOBS).add(
EntityType.WOLF,
EntityType.WANDERING_TRADER,
EntityType.TRADER_LLAMA,
EntityType.PILLAGER,
EntityType.ILLUSIONER,
EntityType.VINDICATOR,
EntityType.WITCH);
tag(EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPES)
.addTag(EntityTypeTags.UNDEAD)
.addTag(EntityTypeTags.RAIDERS)
.add(
EntityType.SPIDER,
EntityType.CREEPER);
tag(EntityTypeTags.POWDER_SNOW_WALKABLE_MOBS)
.addTag(EntityTypeTags.UNDEAD)
.addTag(EntityTypeTags.RAIDERS)
.add(
EntityType.WOLF,
EntityType.WANDERING_TRADER,
EntityType.TRADER_LLAMA,
EntityType.SPIDER,
EntityType.CREEPER);
}
}

0 comments on commit f71357e

Please sign in to comment.