Remove access transformer example

This commit is contained in:
Johann Bernhardt committed 2021-11-07 01:05:32 +01:00
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) {