use of blusunrize.immersiveengineering.common.items.ItemDrillhead.DrillHeadPerm in project ImmersiveEngineering by BluSunrize.
the class ClientProxy method textureStich.
@SubscribeEvent
public void textureStich(TextureStitchEvent.Pre event) {
IELogger.info("Stitching Revolver Textures!");
((ItemRevolver) IEContent.itemRevolver).stichRevolverTextures(event.getMap());
for (ShaderRegistry.ShaderRegistryEntry entry : ShaderRegistry.shaderRegistry.values()) for (ShaderCase sCase : entry.getCases()) if (sCase.stitchIntoSheet())
for (ShaderLayer layer : sCase.getLayers()) if (layer.getTexture() != null)
ApiUtils.getRegisterSprite(event.getMap(), layer.getTexture());
for (DrillHeadPerm p : ((ItemDrillhead) IEContent.itemDrillhead).perms) p.sprite = ApiUtils.getRegisterSprite(event.getMap(), p.texture);
WireType.iconDefaultWire = ApiUtils.getRegisterSprite(event.getMap(), "immersiveengineering:blocks/wire");
ApiUtils.getRegisterSprite(event.getMap(), "immersiveengineering:blocks/shaders/greyscaleFire");
for (BulletHandler.IBullet bullet : BulletHandler.registry.values()) for (ResourceLocation rl : bullet.getTextures()) ApiUtils.getRegisterSprite(event.getMap(), rl);
for (ResourceLocation rl : ModelConveyor.rl_casing) ApiUtils.getRegisterSprite(event.getMap(), rl);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorHandler.textureConveyorColour);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorBasic.texture_off);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorBasic.texture_on);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorDrop.texture_off);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorDrop.texture_on);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorVertical.texture_off);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorVertical.texture_on);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorSplit.texture_off);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorSplit.texture_on);
ApiUtils.getRegisterSprite(event.getMap(), ConveyorSplit.texture_casing);
ApiUtils.getRegisterSprite(event.getMap(), IEContent.fluidPotion.getStill());
ApiUtils.getRegisterSprite(event.getMap(), IEContent.fluidPotion.getFlowing());
ApiUtils.getRegisterSprite(event.getMap(), "immersiveengineering:items/shader_slot");
}
Aggregations