Class RelativeTeleportPacket
java.lang.Object
com.simibubi.create.foundation.networking.SimplePacketBase
com.lightning.northstar.network.packet.RelativeTeleportPacket
public class RelativeTeleportPacket
extends com.simibubi.create.foundation.networking.SimplePacketBase
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRelativeTeleportPacket(int entityId, net.minecraft.world.phys.Vec3 offset) RelativeTeleportPacket(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
-
Field Details
-
entityId
public final int entityId -
offset
public final net.minecraft.world.phys.Vec3 offset
-
-
Constructor Details
-
RelativeTeleportPacket
public RelativeTeleportPacket(int entityId, net.minecraft.world.phys.Vec3 offset) -
RelativeTeleportPacket
public RelativeTeleportPacket(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
write
public void write(net.minecraft.network.FriendlyByteBuf buf) - Specified by:
writein classcom.simibubi.create.foundation.networking.SimplePacketBase
-
handle
public boolean handle(net.minecraftforge.network.NetworkEvent.Context context) - Specified by:
handlein classcom.simibubi.create.foundation.networking.SimplePacketBase
-