コード例 #1
0
 public static void addNewStringPacketEvent(
     int eventId, String string, EntityPlayer player, Side target) {
   handlerInstance.stringPacketEvent(
       instance.new StringPacketEvent(eventId, string, player, target));
 }
コード例 #2
0
 public static void addNewVoidPacketEvent(int eventId, EntityPlayer player, Side target) {
   handlerInstance.voidPacketEvent(instance.new PacketEvent(eventId, player, target));
 }
コード例 #3
0
 public static void addNewIntegerPacketEvent(
     int eventId, int integer, EntityPlayer player, Side target) {
   handlerInstance.intPacketEvent(
       instance.new IntegerPacketEvent(eventId, integer, player, target));
 }