Fixed the routing focus texture name.
This commit is contained in:
parent
02c613d608
commit
cd34cb30e8
|
@ -1,12 +1,14 @@
|
|||
#
|
||||
#Wed Aug 12 17:14:26 EDT 2015
|
||||
mod_name=BloodMagic
|
||||
forge_version=10.13.4.1492-1.7.10
|
||||
cclib_version=1.1.3.138
|
||||
ccc_version=1.0.7.47
|
||||
cclib_version=1.1.3.138
|
||||
nei_version=1.0.5.111
|
||||
//=Dependency Information
|
||||
guideapi_version=1.0.1-20
|
||||
package_group=com.wayoftime.bloodmagic
|
||||
mod_version=1.3.3
|
||||
minetweaker_version=Dev-1.7.10-3.0.9B
|
||||
build_number=12
|
||||
build_number=14
|
||||
mc_version=1.7.10
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
package WayofTime.alchemicalWizardry.client;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.entity.AbstractClientPlayer;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.client.event.RenderBlockOverlayEvent;
|
||||
import net.minecraftforge.client.event.RenderHandEvent;
|
||||
import net.minecraftforge.client.event.sound.SoundEvent;
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
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.TickEvent.Phase;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.RenderTickEvent;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class ClientEventHandler
|
||||
{
|
||||
|
@ -25,18 +21,18 @@ public class ClientEventHandler
|
|||
|
||||
public static ResourceLocation currentPlayerTexture = null;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@SubscribeEvent
|
||||
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())
|
||||
{
|
||||
currentPlayerTexture = ((AbstractClientPlayer) mc.thePlayer).getLocationSkin();
|
||||
|
||||
ClientUtils.renderPlayerArmourInPOV(mc.thePlayer, event.partialTicks);
|
||||
event.setCanceled(true);
|
||||
}
|
||||
}
|
||||
// @SideOnly(Side.CLIENT)
|
||||
// @SubscribeEvent
|
||||
// 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())
|
||||
// {
|
||||
// currentPlayerTexture = ((AbstractClientPlayer) mc.thePlayer).getLocationSkin();
|
||||
//
|
||||
// ClientUtils.renderPlayerArmourInPOV(mc.thePlayer, event.partialTicks);
|
||||
// event.setCanceled(true);
|
||||
// }
|
||||
// }
|
||||
|
||||
// @SubscribeEvent(priority = EventPriority.LOWEST)
|
||||
// public void onPlayerRenderTick(RenderPlayerEvent.Pre event)
|
||||
|
|
Loading…
Reference in a new issue