mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 23:13:07 +00:00
Custom firework rocket for landmines (WIP)
- Made the firework rocket impossible to dismount - Made the firework rocket inflict a large amount of damage to the player upon explosion - Moved DamageSourceLandmine to it's appropriate place - Fixed the landmine death localization *blames Sunstrike*
This commit is contained in:
1 parent
ae4dbb8095
commit
2fcc67e876
8 files changed
+253
-10
No files matched your search
@@ -14,7 +14,7 @@ import net.minecraft.client.gui.inventory.GuiInventory;
|
||||
import net.minecraft.client.model.ModelSlime;
|
||||
import net.minecraft.client.particle.*;
|
||||
import net.minecraft.client.renderer.*;
|
||||
import net.minecraft.client.renderer.entity.RenderItem;
|
||||
import net.minecraft.client.renderer.entity.*;
|
||||
import net.minecraft.client.settings.*;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.*;
|
||||
@@ -36,6 +36,7 @@ import tconstruct.client.pages.*;
|
||||
import tconstruct.client.tabs.*;
|
||||
import tconstruct.common.*;
|
||||
import tconstruct.entity.*;
|
||||
import tconstruct.entity.item.EntityLandmineFirework;
|
||||
import tconstruct.entity.projectile.*;
|
||||
import tconstruct.inventory.ContainerLandmine;
|
||||
import tconstruct.library.TConstructRegistry;
|
||||
@@ -230,6 +231,7 @@ public class TProxyClient extends TProxyCommon
|
||||
RenderingRegistry.registerEntityRenderingHandler(LaunchedPotion.class, new LaunchedItemRender(Item.potion, 16384));
|
||||
RenderingRegistry.registerEntityRenderingHandler(DaggerEntity.class, new DaggerRenderCustom());
|
||||
RenderingRegistry.registerEntityRenderingHandler(ArrowEntity.class, new ArrowRenderCustom());
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityLandmineFirework.class, new RenderSnowball(Item.firework));
|
||||
// RenderingRegistry.registerEntityRenderingHandler(net.minecraft.entity.player.EntityPlayer.class,
|
||||
// new PlayerArmorRender()); // <-- Works, woo!
|
||||
|
||||
|
||||
Reference in new issue
Block a user