Search in sources :

Example 1 with ArsenicFlowingWater

use of net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicFlowingWater in project StationAPI by ModificationStation.

the class Arsenic method registerTextures.

private static void registerTextures(TextureRegisterEvent event) {
    ExpandableAtlas terrain = Atlases.getTerrain();
    ExpandableAtlas guiItems = Atlases.getGuiItems();
    terrain.addTextureBinder(terrain.getTexture(BlockBase.FLOWING_WATER.texture), ArsenicStillWater::new);
    terrain.addTextureBinder(terrain.getTexture(BlockBase.FLOWING_WATER.texture + 1), ArsenicFlowingWater::new);
    terrain.addTextureBinder(terrain.getTexture(BlockBase.FLOWING_LAVA.texture), ArsenicStillLava::new);
    terrain.addTextureBinder(terrain.getTexture(BlockBase.FLOWING_LAVA.texture + 1), ArsenicFlowingLava::new);
    terrain.addTextureBinder(terrain.getTexture(BlockBase.FIRE.texture), ArsenicFire::new);
    terrain.addTextureBinder(terrain.getTexture(BlockBase.FIRE.texture + 16), ArsenicFire::new);
    terrain.addTextureBinder(terrain.getTexture(BlockBase.PORTAL.texture), ArsenicPortal::new);
    guiItems.addTextureBinder(guiItems.getTexture(ItemBase.compass.getTexturePosition(0)), ArsenicCompass::new);
    guiItems.addTextureBinder(guiItems.getTexture(ItemBase.clock.getTexturePosition(0)), ArsenicClock::new);
}
Also used : ExpandableAtlas(net.modificationstation.stationapi.api.client.texture.atlas.ExpandableAtlas) ArsenicFlowingWater(net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicFlowingWater) ArsenicStillLava(net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicStillLava) ArsenicFire(net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicFire) ArsenicPortal(net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicPortal) ArsenicStillWater(net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicStillWater) ArsenicCompass(net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicCompass) ArsenicClock(net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicClock) ArsenicFlowingLava(net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicFlowingLava)

Aggregations

ExpandableAtlas (net.modificationstation.stationapi.api.client.texture.atlas.ExpandableAtlas)1 ArsenicClock (net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicClock)1 ArsenicCompass (net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicCompass)1 ArsenicFire (net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicFire)1 ArsenicFlowingLava (net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicFlowingLava)1 ArsenicFlowingWater (net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicFlowingWater)1 ArsenicPortal (net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicPortal)1 ArsenicStillLava (net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicStillLava)1 ArsenicStillWater (net.modificationstation.stationapi.impl.client.arsenic.renderer.render.binder.ArsenicStillWater)1