Skip to content

Commit

Permalink
chore: GBで反応するエンティティにピグリン、ホグリン、ドラウンドを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Dec 21, 2023
1 parent bae8dfc commit b0fed4b
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ import org.bukkit.entity.EntityType.{
BLAZE,
CAVE_SPIDER,
CREEPER,
DROWNED,
ELDER_GUARDIAN,
ENDERMAN,
ENDERMITE,
EVOKER,
GHAST,
GUARDIAN,
HOGLIN,
HUSK,
MAGMA_CUBE,
ZOMBIFIED_PIGLIN,
PIGLIN,
SHULKER,
SILVERFISH,
SKELETON,
Expand All @@ -25,7 +27,8 @@ import org.bukkit.entity.EntityType.{
WITCH,
WITHER_SKELETON,
ZOMBIE,
ZOMBIE_VILLAGER
ZOMBIE_VILLAGER,
ZOMBIFIED_PIGLIN
}

object EnemyEntity {
Expand Down Expand Up @@ -53,6 +56,9 @@ object EnemyEntity {
WITCH,
WITHER_SKELETON,
ZOMBIE,
ZOMBIE_VILLAGER
ZOMBIE_VILLAGER,
PIGLIN,
HOGLIN,
DROWNED
).contains(entityType)
}

0 comments on commit b0fed4b

Please sign in to comment.