package com.minelittlepony.client.render;

import net.minecraft.client.render.RenderLayer;
import net.minecraft.client.render.RenderPhase;
import net.minecraft.client.render.VertexFormats;

public class MagicGlow extends RenderPhase {

    public MagicGlow(String name, Runnable beginAction, Runnable endAction) {
        super(name, beginAction, endAction);
    }

    public static RenderLayer getRenderLayer() {
        return RenderLayer.method_24048("mlp_magic_glow", VertexFormats.POSITION_COLOR_TEXTURE_LIGHT_NORMAL, 7, 256, RenderLayer.MultiPhaseData.builder()
                .texture(NO_TEXTURE)
                .transparency(TRANSLUCENT_TRANSPARENCY)
                .lightmap(DISABLE_LIGHTMAP)
                .cull(DISABLE_CULLING)
                .build(false));
    }
}

@@ -228,27 +228,27 @@
 Phase %7B%0A
-%0A
     p
-ublic
+rivate
  MagicGl
@@ -367,67 +367,40 @@
     
-public static RenderLayer getRenderLayer() %7B%0A        return
+static final RenderLayer MAGIC =
  Ren
@@ -547,20 +547,16 @@
         
- 
-   
 .texture
@@ -568,20 +568,16 @@
 EXTURE)%0A
-    
         
@@ -632,20 +632,16 @@
         
-  
-  
 .lightma
@@ -672,20 +672,16 @@
         
-    
 .cull(DI
@@ -707,20 +707,16 @@
         
-   
- 
 .build(f
@@ -722,16 +722,88 @@
 false));
+%0A%0A    public static RenderLayer getRenderLayer() %7B%0A        return MAGIC;
 %0A    %7D%0A%7D

Tidy up the magic glow layer