Examples of ResourceLocation


Examples of net.minecraft.util.ResourceLocation

    Shape4.render(f5);
  }

  public void render(TileEntity tileEntity, double x, double y, double z)
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_import_bus.png"));
    GL11.glPushMatrix();

    switch (ForgeDirection.getOrientation(tileEntity.getBlockMetadata()))
    {
    case UP:
View Full Code Here

Examples of net.minecraft.util.ResourceLocation

    model = AdvancedModelLoader.loadModel("/assets/extracells/models/walrus.obj");
  }

  public void render()
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/walrus.png"));
    model.renderAll();
  }
View Full Code Here

Examples of net.minecraft.util.ResourceLocation

    Shape4.render(f5);
  }

  public void render(TileEntity tileEntity, double x, double y, double z)
  {
    Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation("extracells", "textures/blocks/texmap_export_bus.png"));
    GL11.glPushMatrix();

    switch (ForgeDirection.getOrientation(tileEntity.getBlockMetadata()))
    {
    case UP:
View Full Code Here

Examples of net.minecraft.util.ResourceLocation

  public static World getWorld() {
    return Minecraft.getMinecraft().thePlayer.worldObj;
  }

  public static void bindTexture(String texture) {
    bindTexture( new ResourceLocation( texture ) );
  }
View Full Code Here

Examples of net.minecraft.util.ResourceLocation

  private static final String MODEL = "enderio:models/transceiver.obj";

  private IModelCustom model;

  public TransceiverModel() {
    model = AdvancedModelLoader.loadModel(new ResourceLocation(MODEL));
  }
View Full Code Here

Examples of net.minecraft.util.ResourceLocation

  private static final String MODEL = "enderio:models/hyperCube.obj";

  private IModelCustom model;

  public HyperCubeModel() {
    model = AdvancedModelLoader.loadModel(new ResourceLocation(MODEL));
  }
View Full Code Here

Examples of net.minecraft.util.ResourceLocation

  private ResourceLocation getSkinFace(String name)
  {
    try
    {
      ResourceLocation resourcelocation = Minecraft.getMinecraft().thePlayer.getLocationSkin();

      if (name != null && !name.isEmpty())
      {
        resourcelocation = AbstractClientPlayer.getLocationSkin(name);
        AbstractClientPlayer.getDownloadImageSkin(resourcelocation, name);
View Full Code Here

Examples of net.minecraft.util.ResourceLocation

    }
  }
 
  public static void playSound(String sound)
  {
        mc.getSoundHandler().playSound(PositionedSoundRecord.func_147674_a(new ResourceLocation(sound), 1.0F));
  }
View Full Code Here

Examples of org.apache.axis2.classloader.ResourceLocation

        synchronized (lock) {
            if (destroyed) {
                return null;
            }
            for (Map.Entry<URL, ResourceLocation> entry : getClassPath().entrySet()) {
                ResourceLocation resourceLocation = entry.getValue();
                ResourceHandle resourceHandle = (ResourceHandle) resourceLocation.getResourceHandle(resourceName);
                if (resourceHandle != null && !resourceHandle.isDirectory()) {
                    return resourceHandle;
                }
            }
        }
View Full Code Here

Examples of org.apache.tools.ant.types.ResourceLocation

     */
    public void addPublicEntry(String publicid,
                               String systemid,
                               URL base) {

        ResourceLocation dtd = new ResourceLocation();
        dtd.setBase(base);
        dtd.setPublicId(publicid);
        dtd.setLocation(systemid);

        xmlCatalog.addDTD(dtd);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.