Class SimpleVanillaPacketEntrant<LISTENER extends net.minecraft.network.PacketListener,PACKET extends net.minecraft.network.protocol.Packet<LISTENER>>
java.lang.Object
com.petrolpark.core.actionrecord.packet.entrant.AlwaysEnterPacketEntrant<PACKET>
com.petrolpark.core.actionrecord.packet.entrant.SimpleVanillaPacketEntrant<LISTENER,PACKET>
- All Implemented Interfaces:
IPacketEntrant<PACKET>,IVanillaPacketEntrant<LISTENER,PACKET>
public final class SimpleVanillaPacketEntrant<LISTENER extends net.minecraft.network.PacketListener,PACKET extends net.minecraft.network.protocol.Packet<LISTENER>>
extends AlwaysEnterPacketEntrant<PACKET>
implements IVanillaPacketEntrant<LISTENER,PACKET>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleVanillaPacketEntrant(net.minecraft.network.protocol.PacketType<PACKET> type, Function<PACKET, Object[]> translationArgs) SimpleVanillaPacketEntrant(net.minecraft.network.protocol.PacketType<PACKET> type, Function<PACKET, Object[]> translationArgs, Function<PACKET, Object[]> advancedTranslationArgs) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.ComponentgetAdvancedDescription(PACKET packet) net.minecraft.network.chat.ComponentgetDescription(PACKET packet) Methods inherited from class com.petrolpark.core.actionrecord.packet.entrant.AlwaysEnterPacketEntrant
getEntryResultMethods 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.IPacketEntrant
getEntryResultMethods inherited from interface com.petrolpark.core.actionrecord.packet.entrant.IVanillaPacketEntrant
cast
-
Field Details
-
type
-
translationKey
-
-
Constructor Details
-
SimpleVanillaPacketEntrant
-
SimpleVanillaPacketEntrant
-
-
Method Details
-
getDescription
- Specified by:
getDescriptionin classAlwaysEnterPacketEntrant<PACKET extends net.minecraft.network.protocol.Packet<LISTENER>>
-
getAdvancedDescription
- Overrides:
getAdvancedDescriptionin classAlwaysEnterPacketEntrant<PACKET extends net.minecraft.network.protocol.Packet<LISTENER>>
-