Class RingOfFirePacket
java.lang.Object
org.cyclops.cyclopscore.network.PacketBase
org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.cyclopscore.network.packet.PlayerPositionPacket
org.cyclops.cyclopscore.network.packet.RingOfFirePacket
Packet for sending and showing the ring of fire.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.cyclopscore.network.PacketCodec
PacketCodec.ICodecAction, PacketCodec.ICodecRunnable
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.network.packet.PlayerPositionPacket
position, uuid
Fields inherited from class org.cyclops.cyclopscore.network.PacketCodec
fieldCache, READ_STRING_MAX_LENGTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PlayerPositionPacket
create
(net.minecraft.world.entity.player.Player player, int range) protected ModBase
protected void
performClientAction
(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player) Methods inherited from class org.cyclops.cyclopscore.network.packet.PlayerPositionPacket
actionClient, actionServer, isAsync
Methods inherited from class org.cyclops.cyclopscore.network.PacketCodec
addCodedAction, decode, encode, getAction, getActionSuper, read, write
-
Constructor Details
-
RingOfFirePacket
public RingOfFirePacket() -
RingOfFirePacket
public RingOfFirePacket(net.minecraft.world.entity.player.Player player)
-
-
Method Details
-
create
- Specified by:
create
in classPlayerPositionPacket
-
getModInstance
- Specified by:
getModInstance
in classPlayerPositionPacket
-
performClientAction
protected void performClientAction(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player) - Specified by:
performClientAction
in classPlayerPositionPacket
-