SetEntitySeed.java
package com.hypixel.hytale.protocol.packets.entities;
import com.hypixel.hytale.protocol.Packet;
import com.hypixel.hytale.protocol.io.ValidationResult;
import io.netty.buffer.ByteBuf;
import java.util.Objects;
import javax.annotation.Nonnull;
public class SetEntitySeed implements Packet {
public static final int PACKET_ID = 160;
public static final boolean IS_COMPRESSED = false;
public static final int NULLABLE_BIT_FIELD_SIZE = 0;
public static final int FIXED_BLOCK_SIZE = 4;
public static final int VARIABLE_FIELD_COUNT ;
;
;
entitySeed;
{
;
}
{
}
{
.entitySeed = entitySeed;
}
{
.entitySeed = other.entitySeed;
}
SetEntitySeed {
();
obj.entitySeed = buf.getIntLE(offset + );
obj;
}
{
;
}
{
buf.writeIntLE(.entitySeed);
}
{
;
}
ValidationResult {
buffer.readableBytes() - offset < ? ValidationResult.error() : ValidationResult.OK;
}
SetEntitySeed {
();
copy.entitySeed = .entitySeed;
copy;
}
{
( == obj) {
;
} (obj SetEntitySeed) {
(SetEntitySeed)obj;
.entitySeed == other.entitySeed;
} {
;
}
}
{
Objects.hash( []{.entitySeed});
}
}