Jump to content

ErikDaGreat

Members
  • Posts

    3
  • Joined

  • Last visited

ErikDaGreat's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I wanted to see minecraft snapshots code because they have added interesting and mysterious blocks, but I have no idea how to decompile snapshots. I know mappings are not fully done for them, but there are already done mappings from past 8 years of deobfuscating. So how do you do that?
  2. I realized i need to register events. whoopsie
  3. package erik.smashbell; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.TickEvent; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; @Mod.EventBusSubscriber public class TickHandler { @SideOnly(Side.SERVER) @SubscribeEvent public void onServerTick(TickEvent.ServerTickEvent event){ if (event.phase == TickEvent.Phase.END){ System.out.println("===============IM HERE=============="); } } } I started to make timer using ticks but didn't finish it..... This does not show anything in console
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.