public class ClayLaserByteBufAdapter
extends java.lang.Object
implements com.cleanroommc.modularui.utils.serialization.IByteBufAdapter<io.github.trcdevelopers.clayium.api.laser.ClayLaser>
IEquals has not null parameters,
but ClayLaser can be null.
so we have to use Java.| Modifier and Type | Field and Description |
|---|---|
static ClayLaserByteBufAdapter |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areEqual(@Nullable io.github.trcdevelopers.clayium.api.laser.ClayLaser t1,
@Nullable io.github.trcdevelopers.clayium.api.laser.ClayLaser t2) |
@Nullable io.github.trcdevelopers.clayium.api.laser.ClayLaser |
deserialize(@NotNull net.minecraft.network.PacketBuffer buffer) |
void |
serialize(@NotNull net.minecraft.network.PacketBuffer buffer,
@Nullable io.github.trcdevelopers.clayium.api.laser.ClayLaser u) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserializeSafe, wrapNullSafepublic static final ClayLaserByteBufAdapter INSTANCE
@Nullable
public @Nullable io.github.trcdevelopers.clayium.api.laser.ClayLaser deserialize(@NotNull
@NotNull net.minecraft.network.PacketBuffer buffer)
deserialize in interface com.cleanroommc.modularui.utils.serialization.IByteBufAdapter<io.github.trcdevelopers.clayium.api.laser.ClayLaser>deserialize in interface com.cleanroommc.modularui.utils.serialization.IByteBufDeserializer<io.github.trcdevelopers.clayium.api.laser.ClayLaser>public void serialize(@NotNull
@NotNull net.minecraft.network.PacketBuffer buffer,
@Nullable
@Nullable io.github.trcdevelopers.clayium.api.laser.ClayLaser u)
serialize in interface com.cleanroommc.modularui.utils.serialization.IByteBufAdapter<io.github.trcdevelopers.clayium.api.laser.ClayLaser>serialize in interface com.cleanroommc.modularui.utils.serialization.IByteBufSerializer<io.github.trcdevelopers.clayium.api.laser.ClayLaser>public boolean areEqual(@Nullable
@Nullable io.github.trcdevelopers.clayium.api.laser.ClayLaser t1,
@Nullable
@Nullable io.github.trcdevelopers.clayium.api.laser.ClayLaser t2)
areEqual in interface com.cleanroommc.modularui.utils.serialization.IByteBufAdapter<io.github.trcdevelopers.clayium.api.laser.ClayLaser>areEqual in interface com.cleanroommc.modularui.utils.serialization.IEquals<io.github.trcdevelopers.clayium.api.laser.ClayLaser>