Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. import java.awt.Color;
  2.  
  3. import net.minecraftforge.client.event.LightmapEntryEvent;
  4. import net.minecraftforge.common.MinecraftForge;
  5. import net.minecraftforge.fml.common.Mod;
  6. import net.minecraftforge.fml.common.Mod.EventHandler;
  7. import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
  8. import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
  9.  
  10. @Mod(modid = "RedLight", name = "Red Light Mod")
  11. public class RedLightMod {
  12.  
  13. @EventHandler
  14. public void preInit(FMLPreInitializationEvent event)
  15. {
  16. MinecraftForge.EVENT_BUS.register(this);
  17. }
  18.  
  19. @SubscribeEvent
  20. public void lightmapEntry(LightmapEntryEvent event)
  21. {
  22. event.newGreen /= 3;
  23. event.newBlue /= 3;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement