2015-03-30 18:42:14 +02:00
|
|
|
package ellpeck.actuallyadditions.event;
|
|
|
|
|
2015-03-31 20:37:55 +02:00
|
|
|
import cpw.mods.fml.common.eventhandler.EventPriority;
|
2015-03-30 18:42:14 +02:00
|
|
|
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
|
|
|
import ellpeck.actuallyadditions.gadget.ModelStandardBlock;
|
|
|
|
import ellpeck.actuallyadditions.gadget.ModelTorch;
|
|
|
|
import ellpeck.actuallyadditions.gadget.RenderSpecial;
|
|
|
|
import net.minecraftforge.client.event.RenderPlayerEvent;
|
|
|
|
|
|
|
|
import java.util.UUID;
|
|
|
|
|
|
|
|
public class RenderPlayerEventAA{
|
|
|
|
|
2015-03-31 20:37:55 +02:00
|
|
|
private RenderSpecial ellpeckRender = new RenderSpecial(new ModelStandardBlock("Ellpeck"));
|
2015-03-30 18:42:14 +02:00
|
|
|
private RenderSpecial hoseRender = new RenderSpecial(new ModelTorch());
|
2015-07-03 15:30:25 +02:00
|
|
|
private RenderSpecial paktoRender = new RenderSpecial(new ModelStandardBlock("Pakto"));
|
2015-03-31 20:37:55 +02:00
|
|
|
private RenderSpecial glenRender = new RenderSpecial(new ModelStandardBlock("Glenthor"));
|
2015-08-01 18:46:23 +02:00
|
|
|
private RenderSpecial lordiRender = new RenderSpecial(new ModelStandardBlock("Lordi"));
|
2015-03-30 18:42:14 +02:00
|
|
|
|
2015-03-31 20:37:55 +02:00
|
|
|
@SubscribeEvent(priority = EventPriority.HIGHEST)
|
2015-03-30 18:42:14 +02:00
|
|
|
public void RenderPlayerEvent(RenderPlayerEvent.Pre event){
|
2015-07-07 12:32:25 +02:00
|
|
|
//Ellpeck
|
|
|
|
if(event.entityPlayer.getUniqueID().equals(UUID.fromString("3f9f4a94-95e3-40fe-8895-e8e3e84d1468"))){
|
|
|
|
ellpeckRender.render(event.entityPlayer, event.partialRenderTick, 0.3F, 1F);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
//Paktosan
|
|
|
|
if(event.entityPlayer.getUniqueID().equals(UUID.fromString("0bac71ad-9156-487e-9ade-9c5b57274b23"))){
|
|
|
|
paktoRender.render(event.entityPlayer, event.partialRenderTick, 0.3F, 1F);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
//TwoOfEight
|
|
|
|
if(event.entityPlayer.getUniqueID().equals(UUID.fromString("a57d2829-9711-4552-a7de-ee800802f643"))){
|
|
|
|
glenRender.render(event.entityPlayer, event.partialRenderTick, 0.3F, 1F);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
//dqmhose
|
|
|
|
if(event.entityPlayer.getUniqueID().equals(UUID.fromString("cb7b293a-5031-484e-b5be-b4f2f4e92726"))){
|
|
|
|
hoseRender.render(event.entityPlayer, event.partialRenderTick, 0.5F, 1.3F);
|
2015-08-24 20:08:14 +02:00
|
|
|
return;
|
2015-07-07 12:32:25 +02:00
|
|
|
}
|
|
|
|
|
2015-08-01 18:46:23 +02:00
|
|
|
|
2015-07-07 12:32:25 +02:00
|
|
|
//Lordi
|
|
|
|
if(event.entityPlayer.getUniqueID().equals(UUID.fromString("990ecf6d-15dd-442c-b91b-323a6420c78e"))){
|
|
|
|
lordiRender.render(event.entityPlayer, event.partialRenderTick, 0.3F, 1F);
|
2015-08-01 18:46:23 +02:00
|
|
|
}
|
2015-03-30 18:42:14 +02:00
|
|
|
}
|
|
|
|
}
|