All Implemented Interfaces:
studio.magemonkey.codex.nms.packets.IPacketHandler

public class V26_R2 extends V26_R1
26.3 packet handling.

26.3 turned ClientboundLevelParticlesPacket into a record: its accessors lost the "get" prefix, and its final fields can no longer be written reflectively, so a modified copy of the packet is sent instead.

  • Constructor Details

    • V26_R2

      public V26_R2(@NotNull Divinity plugin)
  • Method Details

    • getParticle

      @Nullable protected Object getParticle(@NotNull Object packet)
      Overrides:
      getParticle in class V26_R1
    • getParticleCount

      @Nullable protected Integer getParticleCount(@NotNull Object packet)
      Overrides:
      getParticleCount in class V26_R1
    • setParticleCount

      protected void setParticleCount(@NotNull studio.magemonkey.codex.api.events.EnginePlayerPacketEvent event, @NotNull Object packet, int count)
      Overrides:
      setParticleCount in class V26_R1