mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-12 00:17:47 +00:00
Remove access transformer example
This commit is contained in:
1 parent
c4b1866d72
commit
2031cb38dc
3 files changed
+1
-28
No files matched your search
@@ -1,9 +1,6 @@
|
||||
package com.myname.mymodid;
|
||||
|
||||
import cpw.mods.fml.common.event.*;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.gui.GuiScreenBook;
|
||||
import net.minecraft.init.Blocks;
|
||||
|
||||
public class CommonProxy {
|
||||
|
||||
@@ -23,14 +20,7 @@ public class CommonProxy {
|
||||
|
||||
// postInit "Handle interaction with other mods, complete your setup based on this."
|
||||
public void postInit(FMLPostInitializationEvent event) {
|
||||
// Access originally package-private subclass
|
||||
GuiScreenBook.NextPageButton button = null;
|
||||
|
||||
// Access originally private field
|
||||
Material air = Blocks.air.blockMaterial;
|
||||
|
||||
// Access originally protected method
|
||||
Blocks.air.disableStats();
|
||||
}
|
||||
|
||||
public void serverAboutToStart(FMLServerAboutToStartEvent event) {
|
||||
|
||||
Reference in new issue
Block a user