Merge PR #7 from MoreThanHidden/1.10-rv3-rendering - Particle Texture Atlas Added
Merge PR #7 from MoreThanHidden/1.10-rv3-rendering - Particle Texture Atlas Added. Closes #6.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package appeng.client.render.textures;
|
||||
|
||||
|
||||
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.client.event.TextureStitchEvent;
|
||||
|
||||
|
||||
public class ParticleTextures
|
||||
{
|
||||
public static TextureAtlasSprite BlockEnergyParticle;
|
||||
public static TextureAtlasSprite BlockMatterCannonParticle;
|
||||
|
||||
public static void registerSprite( TextureStitchEvent.Pre event )
|
||||
{
|
||||
BlockEnergyParticle = event.getMap().registerSprite( new ResourceLocation( "appliedenergistics2:blocks/BlockEnergyParticle" ) );
|
||||
BlockMatterCannonParticle = event.getMap().registerSprite( new ResourceLocation( "appliedenergistics2:blocks/BlockMatterCannonParticle" ) );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user