From fcc682af2b4b55c935db1d3ba85decc46237a785 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 2 Jun 2019 15:53:30 +0200 Subject: [PATCH] Ponified the Drowned --- .../client/render/entities/MobRenderers.java | 1 + .../render/entities/RenderPonyZombie.java | 17 +++++++++++++++-- .../textures/entity/zombie/drowned_pony.png | Bin 0 -> 5539 bytes 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/assets/minelittlepony/textures/entity/zombie/drowned_pony.png diff --git a/src/main/java/com/minelittlepony/client/render/entities/MobRenderers.java b/src/main/java/com/minelittlepony/client/render/entities/MobRenderers.java index a22e1991..061d8b80 100644 --- a/src/main/java/com/minelittlepony/client/render/entities/MobRenderers.java +++ b/src/main/java/com/minelittlepony/client/render/entities/MobRenderers.java @@ -29,6 +29,7 @@ public enum MobRenderers implements Setting { pony.switchRenderer(state, ZombieEntity.class, RenderPonyZombie::new); pony.switchRenderer(state, HuskEntity.class, RenderPonyZombie.Husk::new); pony.switchRenderer(state, GiantEntity.class, RenderPonyZombie.Giant::new); + pony.switchRenderer(state, DrownedEntity.class, RenderPonyZombie.Drowned::new); } }, PIGZOMBIES { diff --git a/src/main/java/com/minelittlepony/client/render/entities/RenderPonyZombie.java b/src/main/java/com/minelittlepony/client/render/entities/RenderPonyZombie.java index ef70e4d2..903bf9a2 100644 --- a/src/main/java/com/minelittlepony/client/render/entities/RenderPonyZombie.java +++ b/src/main/java/com/minelittlepony/client/render/entities/RenderPonyZombie.java @@ -4,6 +4,7 @@ import com.minelittlepony.client.model.entities.ModelZombiePony; import com.mojang.blaze3d.platform.GlStateManager; import net.minecraft.client.render.entity.EntityRenderDispatcher; +import net.minecraft.entity.mob.DrownedEntity; import net.minecraft.entity.mob.GiantEntity; import net.minecraft.entity.mob.HuskEntity; import net.minecraft.entity.mob.ZombieEntity; @@ -15,6 +16,7 @@ public class RenderPonyZombie extends RenderPonyMob public static final Identifier ZOMBIE = new Identifier("minelittlepony", "textures/entity/zombie/zombie_pony.png"); public static final Identifier HUSK = new Identifier("minelittlepony", "textures/entity/zombie/husk_pony.png"); public static final Identifier PIGMAN = new Identifier("minelittlepony", "textures/entity/zombie/zombie_pigman_pony.png"); + public static final Identifier DROWNED = new Identifier("minelittlepony", "textures/entity/zombie/drowned_pony.png"); public RenderPonyZombie(EntityRenderDispatcher manager) { super(manager, new ModelZombiePony<>()); @@ -25,6 +27,19 @@ public class RenderPonyZombie extends RenderPonyMob return ZOMBIE; } + + public static class Drowned extends RenderPonyZombie { + + public Drowned(EntityRenderDispatcher manager) { + super(manager); + } + + @Override + public Identifier findTexture(DrownedEntity entity) { + return DROWNED; + } + } + public static class Pigman extends RenderPonyZombie { public Pigman(EntityRenderDispatcher manager) { @@ -73,6 +88,4 @@ public class RenderPonyZombie extends RenderPonyMob return ZOMBIE; } } - - //TODO: MC1.13 EntityDrowned } diff --git a/src/main/resources/assets/minelittlepony/textures/entity/zombie/drowned_pony.png b/src/main/resources/assets/minelittlepony/textures/entity/zombie/drowned_pony.png new file mode 100644 index 0000000000000000000000000000000000000000..3468db636760b77b822f97f16d9c06b0874469bf GIT binary patch literal 5539 zcmV;U6w3V8^AXROOh)9S7 zN(cemsI3|)Qrae!qDD=msyy_uRTIEXp&~RX#KK?$#$e-fzwEu%nsbiJ_w`|J&arV5 zY+>Qb9&c-DjycEpf8Y47{~^raHE@z&q`u(4d?v=YXGD%ft%N5s==L7WFb zM7VD=AR<^(KK-uycNY0a0apMN}?GuU_TNS(rtu$P}I756r(GP4{^V)8l*m)YJ4egwo9psc zIh-0U1U83<{QiIZHG4Jy_}wMG+nM*)bp!-*;ouMd7%BQp0L(l3;3&Ht-V1&h_>jRb zhQRy9Xr(}%zinlr-B>ejH#F~19O?u`@w@vBPh7wu_|8$9;ew~;5%R?O2R_62^(Qeg zhQq6jMG194sQAz^wTj8Syifk_uNek?Fy_BZXzf{PfaZz39ax+>Nh`{D{sKOB0F0Nf zJre+L4)f4W8K**vo+)}hSS!C`!Y}xF%6(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