Replace ZombiePigman with ZombifiedPiglin

Use "ZombifiedPiglin" in place of "ZombiePigman" for older versions of Minecraft.
This commit is contained in:
ORelio 2020-08-23 23:46:18 +02:00 committed by ORelio
parent dc5ca8c79a
commit ee164dfcc2
7 changed files with 5 additions and 7 deletions

View file

@ -96,7 +96,7 @@ namespace MinecraftClient.Mapping.EntityPalettes
{ 54, EntityType.Zombie },
{ 55, EntityType.Slime },
{ 56, EntityType.Ghast },
{ 57, EntityType.ZombiePigman },
{ 57, EntityType.ZombifiedPiglin },
{ 58, EntityType.Enderman },
{ 59, EntityType.CaveSpider },
{ 60, EntityType.Silverfish },

View file

@ -99,7 +99,7 @@ namespace MinecraftClient.Mapping.EntityPalettes
{ 50, EntityType.Parrot },
{ 51, EntityType.Pig },
{ 52, EntityType.Pufferfish },
{ 53, EntityType.ZombiePigman },
{ 53, EntityType.ZombifiedPiglin },
{ 54, EntityType.PolarBear },
{ 55, EntityType.Tnt },
{ 56, EntityType.Rabbit },

View file

@ -69,7 +69,7 @@ namespace MinecraftClient.Mapping.EntityPalettes
mappings[53] = EntityType.Parrot;
mappings[54] = EntityType.Pig;
mappings[55] = EntityType.Pufferfish;
mappings[56] = EntityType.ZombiePigman;
mappings[56] = EntityType.ZombifiedPiglin;
mappings[57] = EntityType.PolarBear;
mappings[58] = EntityType.Tnt;
mappings[59] = EntityType.Rabbit;

View file

@ -70,7 +70,7 @@ namespace MinecraftClient.Mapping.EntityPalettes
mappings[54] = EntityType.Parrot;
mappings[55] = EntityType.Pig;
mappings[56] = EntityType.Pufferfish;
mappings[57] = EntityType.ZombiePigman;
mappings[57] = EntityType.ZombifiedPiglin;
mappings[58] = EntityType.PolarBear;
mappings[59] = EntityType.Tnt;
mappings[60] = EntityType.Rabbit;

View file

@ -113,7 +113,7 @@ namespace MinecraftClient.Mapping.EntityPalettes
mappings[101] = EntityType.Zombie;
mappings[102] = EntityType.ZombieHorse;
mappings[103] = EntityType.ZombieVillager;
mappings[104] = EntityType.ZombiePigman;
mappings[104] = EntityType.ZombifiedPiglin;
mappings[105] = EntityType.Player;
mappings[106] = EntityType.FishingBobber;
}

View file

@ -120,7 +120,6 @@ namespace MinecraftClient.Mapping
Zoglin,
Zombie,
ZombieHorse,
ZombiePigman,
ZombieVillager,
ZombifiedPiglin,
}

View file

@ -46,7 +46,6 @@ namespace MinecraftClient.Mapping
case EntityType.WitherSkeleton:
case EntityType.Zoglin:
case EntityType.Zombie:
case EntityType.ZombiePigman:
case EntityType.ZombieVillager:
case EntityType.ZombifiedPiglin:
return true;