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?
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