1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package me.Danker.events; import net.minecraft.network.Packet; import net.minecraftforge.fml.common.eventhandler.Cancelable; import net.minecraftforge.fml.common.eventhandler.Event; @Cancelable public class PacketWriteEvent extends Event { public Packet packet; public PacketWriteEvent(Packet packet) { this.packet = packet; } }