Class UnsupportedVanillaPacketEntrant<LISTENER extends net.minecraft.network.PacketListener,PACKET extends net.minecraft.network.protocol.Packet<LISTENER>>
java.lang.Object
com.petrolpark.core.actionrecord.packet.entrant.UnsupportedVanillaPacketEntrant<LISTENER,PACKET>
- All Implemented Interfaces:
IPacketEntrant<PACKET>,IVanillaPacketEntrant<LISTENER,PACKET>
public final class UnsupportedVanillaPacketEntrant<LISTENER extends net.minecraft.network.PacketListener,PACKET extends net.minecraft.network.protocol.Packet<LISTENER>>
extends Object
implements IVanillaPacketEntrant<LISTENER,PACKET>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUnsupportedVanillaPacketEntrant(net.minecraft.network.protocol.PacketType<?> packetType) -
Method Summary
Modifier and TypeMethodDescriptionstatic final UnsupportedVanillaPacketEntrant<?, ?> create(net.minecraft.network.protocol.PacketType<?> packetType) getEntryResult(net.minecraft.server.level.ServerLevel level, PACKET packet) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.petrolpark.core.actionrecord.packet.entrant.IVanillaPacketEntrant
cast
-
Field Details
-
entryResult
-
-
Constructor Details
-
UnsupportedVanillaPacketEntrant
protected UnsupportedVanillaPacketEntrant(net.minecraft.network.protocol.PacketType<?> packetType)
-
-
Method Details
-
create
public static final UnsupportedVanillaPacketEntrant<?,?> create(net.minecraft.network.protocol.PacketType<?> packetType) -
getEntryResult
public ActionRecordEntryResult getEntryResult(net.minecraft.server.level.ServerLevel level, PACKET packet) - Specified by:
getEntryResultin interfaceIPacketEntrant<LISTENER extends net.minecraft.network.PacketListener>
-