diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-09-25 11:20:54 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-09-25 11:20:54 +1000 |
commit | edb22e47dc6a0891175ad121ca6793cf0f3d19a0 (patch) | |
tree | a107faadf61ff3e0e56bd1f96dc7ed8d02ce10bc /src/Java/gtPlusPlus/core/proxy | |
parent | bf75cef777ce71bdb3be87519216c6f984d3994f (diff) | |
download | GT5-Unofficial-edb22e47dc6a0891175ad121ca6793cf0f3d19a0.tar.gz GT5-Unofficial-edb22e47dc6a0891175ad121ca6793cf0f3d19a0.tar.bz2 GT5-Unofficial-edb22e47dc6a0891175ad121ca6793cf0f3d19a0.zip |
$ Fixed Sulfuric potion renderer when thrown.
Diffstat (limited to 'src/Java/gtPlusPlus/core/proxy')
-rw-r--r-- | src/Java/gtPlusPlus/core/proxy/ClientProxy.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/core/proxy/ClientProxy.java b/src/Java/gtPlusPlus/core/proxy/ClientProxy.java index 9440522db8..77b845260a 100644 --- a/src/Java/gtPlusPlus/core/proxy/ClientProxy.java +++ b/src/Java/gtPlusPlus/core/proxy/ClientProxy.java @@ -18,8 +18,10 @@ import gtPlusPlus.core.common.compat.COMPAT_PlayerAPI; import gtPlusPlus.core.entity.EntityPrimedMiningExplosive; import gtPlusPlus.core.entity.monster.EntitySickBlaze; import gtPlusPlus.core.entity.monster.EntityStaballoyConstruct; +import gtPlusPlus.core.entity.projectile.EntitySulfuricAcidPotion; import gtPlusPlus.core.entity.projectile.EntityToxinballSmall; import gtPlusPlus.core.handler.render.FirepitRender; +import gtPlusPlus.core.item.ModItems; import gtPlusPlus.core.lib.CORE; import gtPlusPlus.core.lib.LoadedMods; import gtPlusPlus.core.tileentities.general.TileEntityFirepit; @@ -29,7 +31,10 @@ import gtPlusPlus.xmod.gregtech.common.render.GTPP_CapeRenderer; import net.minecraft.client.Minecraft; import net.minecraft.client.particle.EntityFX; import net.minecraft.client.renderer.entity.RenderIronGolem; +import net.minecraft.client.renderer.entity.RenderSnowball; import net.minecraft.entity.Entity; +import net.minecraft.entity.projectile.EntitySnowball; +import net.minecraft.init.Items; public class ClientProxy extends CommonProxy implements Runnable{ @@ -89,7 +94,9 @@ public class ClientProxy extends CommonProxy implements Runnable{ RenderingRegistry.registerEntityRenderingHandler(EntitySickBlaze.class, new RenderSickBlaze()); RenderingRegistry.registerEntityRenderingHandler(EntityStaballoyConstruct.class, new RenderIronGolem()); RenderingRegistry.registerEntityRenderingHandler(EntityToxinballSmall.class, new RenderToxinball(1F)); + RenderingRegistry.registerEntityRenderingHandler(EntitySulfuricAcidPotion.class, new RenderPotionthrow(ModItems.itemSulfuricPotion)); + //ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBloodSteelChest.class, new BloodSteelChestRenderer()); //MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.tutChest), new ItemRenderBloodSteelChest()); Utils.LOG_INFO("Registering Custom Renderer for the Fire Pit."); |