-
-
Save anonymous/3b51310aa295b8fd8c3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.koopamillion.Main; | |
import cpw.mods.fml.common.network.simpleimpl.IMessage; | |
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler; | |
import cpw.mods.fml.common.network.simpleimpl.MessageContext; | |
import net.minecraft.entity.player.EntityPlayer; | |
public class JetpackHandler implements IMessageHandler<JetpackMessage, IMessage>{ | |
public IMessage handleServerMessage(EntityPlayer player, JetpackMessage message, MessageContext ctx) { | |
System.out.println(message.i); | |
return null; | |
} | |
@Override | |
public IMessage onMessage(JetpackMessage message, MessageContext ctx) { | |
System.out.println(message.i); | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment