Disabled arm rendering for 1.3.3-11
This commit is contained in:
parent
87d8af95d7
commit
b2c013e8c6
1 changed files with 12 additions and 16 deletions
|
@ -1,11 +1,9 @@
|
||||||
package WayofTime.alchemicalWizardry.client;
|
package WayofTime.alchemicalWizardry.client;
|
||||||
|
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.entity.AbstractClientPlayer;
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.util.ResourceLocation;
|
import net.minecraft.util.ResourceLocation;
|
||||||
import net.minecraftforge.client.event.RenderBlockOverlayEvent;
|
import net.minecraftforge.client.event.RenderBlockOverlayEvent;
|
||||||
import net.minecraftforge.client.event.RenderHandEvent;
|
|
||||||
import net.minecraftforge.client.event.sound.SoundEvent;
|
import net.minecraftforge.client.event.sound.SoundEvent;
|
||||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||||
import WayofTime.alchemicalWizardry.ModBlocks;
|
import WayofTime.alchemicalWizardry.ModBlocks;
|
||||||
|
@ -16,8 +14,6 @@ import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||||
import cpw.mods.fml.common.gameevent.InputEvent;
|
import cpw.mods.fml.common.gameevent.InputEvent;
|
||||||
import cpw.mods.fml.common.gameevent.TickEvent.Phase;
|
import cpw.mods.fml.common.gameevent.TickEvent.Phase;
|
||||||
import cpw.mods.fml.common.gameevent.TickEvent.RenderTickEvent;
|
import cpw.mods.fml.common.gameevent.TickEvent.RenderTickEvent;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
|
||||||
|
|
||||||
public class ClientEventHandler
|
public class ClientEventHandler
|
||||||
{
|
{
|
||||||
|
@ -25,18 +21,18 @@ public class ClientEventHandler
|
||||||
|
|
||||||
public static ResourceLocation currentPlayerTexture = null;
|
public static ResourceLocation currentPlayerTexture = null;
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
// @SideOnly(Side.CLIENT)
|
||||||
@SubscribeEvent
|
// @SubscribeEvent
|
||||||
public void renderPOVArmour(RenderHandEvent event)
|
// public void renderPOVArmour(RenderHandEvent event)
|
||||||
{
|
// {
|
||||||
if (this.mc.thePlayer.worldObj.isRemote && this.mc.gameSettings.thirdPersonView == 0 && !this.mc.renderViewEntity.isPlayerSleeping() && !this.mc.gameSettings.hideGUI && !this.mc.playerController.enableEverythingIsScrewedUpMode())
|
// if (this.mc.thePlayer.worldObj.isRemote && this.mc.gameSettings.thirdPersonView == 0 && !this.mc.renderViewEntity.isPlayerSleeping() && !this.mc.gameSettings.hideGUI && !this.mc.playerController.enableEverythingIsScrewedUpMode())
|
||||||
{
|
// {
|
||||||
currentPlayerTexture = ((AbstractClientPlayer) mc.thePlayer).getLocationSkin();
|
// currentPlayerTexture = ((AbstractClientPlayer) mc.thePlayer).getLocationSkin();
|
||||||
|
//
|
||||||
ClientUtils.renderPlayerArmourInPOV(mc.thePlayer, event.partialTicks);
|
// ClientUtils.renderPlayerArmourInPOV(mc.thePlayer, event.partialTicks);
|
||||||
event.setCanceled(true);
|
// event.setCanceled(true);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// @SubscribeEvent(priority = EventPriority.LOWEST)
|
// @SubscribeEvent(priority = EventPriority.LOWEST)
|
||||||
// public void onPlayerRenderTick(RenderPlayerEvent.Pre event)
|
// public void onPlayerRenderTick(RenderPlayerEvent.Pre event)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue