Package net.minecraft.util

Examples of net.minecraft.util.ResourceLocation


        this.modelThermalPadding = new ModelPlayerGC(0.25F);
        this.modelThermalPaddingHelmet = new ModelPlayerGC(0.9F);

        if (GalacticraftCore.isPlanetsLoaded)
        {
            RenderPlayerGC.thermalPaddingTexture0 = new ResourceLocation("galacticraftasteroids", "textures/misc/thermalPadding_0.png");
            RenderPlayerGC.thermalPaddingTexture1 = new ResourceLocation("galacticraftasteroids", "textures/misc/thermalPadding_1.png");
        }
    }
View Full Code Here


    public final IModelCustom model;
    public final IModelCustom model2;

    public TileEntityAluminumWireRenderer()
    {
        this.model = AdvancedModelLoader.loadModel(new ResourceLocation(GalacticraftCore.ASSET_PREFIX, "models/aluminumWire.obj"));
        this.model2 = AdvancedModelLoader.loadModel(new ResourceLocation(GalacticraftCore.ASSET_PREFIX, "models/aluminumWireHeavy.obj"));
    }
View Full Code Here

    protected ModelBase modelSpaceship;
    protected IModelCustom modelSpaceshipObj;

    public RenderTier1Rocket(ModelBase spaceshipModel, String textureDomain, String texture)
    {
        this(new ResourceLocation(textureDomain, "textures/model/" + texture + ".png"));
        this.modelSpaceship = spaceshipModel;
    }
View Full Code Here

        this.modelSpaceship = spaceshipModel;
    }

    public RenderTier1Rocket(IModelCustom spaceshipModel, String textureDomain, String texture)
    {
        this(new ResourceLocation(textureDomain, "textures/model/" + texture + ".png"));
        this.modelSpaceshipObj = spaceshipModel;
    }
View Full Code Here

          {
              GL11.glBindTexture(GL11.GL_TEXTURE_2D, ClientProxyCore.overworldTextureClient.getGlTextureId());
          }
          else
          {
              this.renderEngine.bindTexture(new ResourceLocation(GalacticraftCore.ASSET_PREFIX, "textures/gui/celestialbodies/earth.png"));
              if (!ClientProxyCore.overworldTextureRequestSent)
              {
                  GalacticraftCore.packetPipeline.sendToServer(new PacketSimple(PacketSimple.EnumSimplePacket.S_REQUEST_OVERWORLD_IMAGE, new Object[] {}));
                  ClientProxyCore.overworldTextureRequestSent = true;
              }
View Full Code Here

                }
                else if (world.provider instanceof WorldProviderOrbit)
                {
                    if (world.provider.getSkyRenderer() == null)
                    {
                        world.provider.setSkyRenderer(new SkyProviderOrbit(new ResourceLocation(GalacticraftCore.ASSET_PREFIX, "textures/gui/celestialbodies/earth.png"), true, true));
                        ((SkyProviderOrbit) world.provider.getSkyRenderer()).spinDeltaPerTick = ((WorldProviderOrbit) world.provider).getSpinRate();
                        GCPlayerStatsClient.get(player).inFreefallFirstCheck = false;
                    }

                    if (world.provider.getCloudRenderer() == null)
View Full Code Here

            e.printStackTrace();
        }

        GL11.glPopMatrix();

        ResourceLocation resourcelocation = AbstractClientPlayer.locationStevePng;
        resourcelocation = AbstractClientPlayer.getLocationSkin(OverlayRocket.minecraft.thePlayer.getGameProfile().getName());
        AbstractClientPlayer.getDownloadImageSkin(resourcelocation, OverlayRocket.minecraft.thePlayer.getGameProfile().getName());

        FMLClientHandler.instance().getClient().renderEngine.bindTexture(resourcelocation);
View Full Code Here

    private static final ResourceLocation cargoRocketTexture = new ResourceLocation(MarsModule.ASSET_PREFIX, "textures/model/cargoRocket.png");
    private IModelCustom cargoRocketModel;

    public ItemRendererTier2Rocket(IModelCustom cargoRocketModel)
    {
        super(new EntityTier2Rocket(FMLClientHandler.instance().getClient().theWorld), new ModelTier2Rocket(), new ResourceLocation(MarsModule.ASSET_PREFIX, "textures/model/rocketT2.png"));
        this.cargoRocketModel = cargoRocketModel;
    }
View Full Code Here

          {
              GL11.glBindTexture(GL11.GL_TEXTURE_2D, ClientProxyCore.overworldTextureClient.getGlTextureId());
          }
          else
          {
              this.renderEngine.bindTexture(new ResourceLocation(GalacticraftCore.ASSET_PREFIX, "textures/gui/celestialbodies/earth.png"));
              if (!ClientProxyCore.overworldTextureRequestSent)
              {
                  GalacticraftCore.packetPipeline.sendToServer(new PacketSimple(PacketSimple.EnumSimplePacket.S_REQUEST_OVERWORLD_IMAGE, new Object[] {}));
                  ClientProxyCore.overworldTextureRequestSent = true;
              }
View Full Code Here

    protected ModelBalloonParachute parachuteModel = new ModelBalloonParachute();

    public RenderLandingBalloons()
    {
        this.shadowSize = 2F;
        this.landerModel = AdvancedModelLoader.loadModel(new ResourceLocation(MarsModule.ASSET_PREFIX, "models/landingBalloon.obj"));
    }
View Full Code Here

TOP

Related Classes of net.minecraft.util.ResourceLocation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.