Package mekanism.client.render.MekanismRenderer

Examples of mekanism.client.render.MekanismRenderer.Model3D


      return energyDisplays.get(side);
    }

    DisplayInteger[] displays = new DisplayInteger[stages];

    Model3D model3D = new Model3D();
    model3D.baseBlock = Blocks.water;
    model3D.setTexture(MekanismRenderer.energyIcon);

    for(int i = 0; i < stages; i++)
    {
      displays[i] = DisplayInteger.createAndStart();
View Full Code Here


    if(cachedCenterFluids.containsKey(data) && cachedCenterFluids.get(data).containsKey(fluid))
    {
      return cachedCenterFluids.get(data).get(fluid);
    }

    Model3D toReturn = new Model3D();
    toReturn.baseBlock = Blocks.water;
    toReturn.setTexture(fluid.getIcon());

    final int stages = getStages(data.height);
    DisplayInteger[] displays = new DisplayInteger[stages];

    if(cachedCenterFluids.containsKey(data))
View Full Code Here

    if(cachedOverlays.containsKey(side) && cachedOverlays.get(side).containsKey(color))
    {
      return cachedOverlays.get(side).get(color);
    }

    Model3D toReturn = new Model3D();
    toReturn.baseBlock = Blocks.stone;
    toReturn.setTexture(MekanismRenderer.getColorIcon(color));

    DisplayInteger display = DisplayInteger.createAndStart();

    if(cachedOverlays.containsKey(side))
    {
View Full Code Here

    if(cachedGasses.containsKey(side) && cachedGasses.get(side).containsKey(gas))
    {
      return cachedGasses.get(side).get(gas);
    }

    Model3D toReturn = new Model3D();
    toReturn.baseBlock = Blocks.water;
    toReturn.setTexture(gas.getIcon());

    DisplayInteger display = DisplayInteger.createAndStart();

    if(cachedGasses.containsKey(side))
    {
View Full Code Here

    if(cachedValveFluids.containsKey(fluid))
    {
      return cachedValveFluids.get(fluid);
    }

    Model3D toReturn = new Model3D();
    toReturn.baseBlock = Blocks.water;
    toReturn.setTexture(fluid.getFlowingIcon());
   
    DisplayInteger[] displays = new DisplayInteger[stages];
    cachedValveFluids.put(fluid, displays);

    MekanismRenderer.colorFluid(fluid);
View Full Code Here

    if(cachedCenterFluids.containsKey(fluid))
    {
      return cachedCenterFluids.get(fluid);
    }

    Model3D toReturn = new Model3D();
    toReturn.baseBlock = Blocks.water;
    toReturn.setTexture(fluid.getIcon());
   
    DisplayInteger[] displays = new DisplayInteger[stages];
    cachedCenterFluids.put(fluid, displays);

    MekanismRenderer.colorFluid(fluid);
View Full Code Here

    if(cachedOverlays.containsKey(type))
    {
      return cachedOverlays.get(type);
    }

    Model3D toReturn = new Model3D();
    toReturn.baseBlock = Blocks.stone;
    toReturn.setTexture(GasRegistry.getGas("oxygen").getIcon());

    DisplayInteger display = DisplayInteger.createAndStart();

    if(cachedOverlays.containsKey(type))
    {
View Full Code Here

    if(cachedCenterFluids.containsKey(data) && cachedCenterFluids.get(data).containsKey(fluid))
    {
      return cachedCenterFluids.get(data).get(fluid);
    }

    Model3D toReturn = new Model3D();
    toReturn.baseBlock = Blocks.water;
    toReturn.setTexture(fluid.getIcon());

    final int stages = getStages(data.height);
    DisplayInteger[] displays = new DisplayInteger[stages];

    if(cachedCenterFluids.containsKey(data))
View Full Code Here

    if(cachedValveFluids.containsKey(data) && cachedValveFluids.get(data).containsKey(fluid))
    {
      return cachedValveFluids.get(data).get(fluid);
    }

    Model3D toReturn = new Model3D();
    toReturn.baseBlock = Blocks.water;
    toReturn.setTexture(fluid.getFlowingIcon());

    DisplayInteger display = DisplayInteger.createAndStart();

    if(cachedValveFluids.containsKey(data))
    {
View Full Code Here

    if(cachedLiquids.containsKey(side) && cachedLiquids.get(side).containsKey(fluid))
    {
      return cachedLiquids.get(side).get(fluid);
    }

    Model3D toReturn = new Model3D();
    toReturn.baseBlock = Blocks.water;
    toReturn.setTexture(fluid.getIcon());

    toReturn.setSideRender(side, false);
    toReturn.setSideRender(side.getOpposite(), false);

    DisplayInteger[] displays = new DisplayInteger[stages];

    if(cachedLiquids.containsKey(side))
    {
View Full Code Here

TOP

Related Classes of mekanism.client.render.MekanismRenderer.Model3D

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.