public class ChunkRequest
Class ChunkRequest. Provides chunkrequest functionality for the Hytale server.
java.lang.Object > ChunkRequest
Field Summary
seed
private
int
seed
Field seed.
that
final
GeneratorProfile
that
Field that.
Method Detail
ChunkRequest
public
record
ChunkRequest
(@Nonnull GeneratorProfile generatorProfile, @Nonnull Arguments arguments)
Method ChunkRequest.
- Parameters:
@Nonnull GeneratorProfilegeneratorProfile@Nonnull Argumentsarguments
generatorProfile
public
GeneratorProfile
generatorProfile
()
Method generatorProfile.
arguments
public
Arguments
arguments
()
Method arguments.
GeneratorProfile
public
public
GeneratorProfile
(@Nonnull final String worldStructureName, @Nonnull final Transform spawnPosition, final int seed)
Method GeneratorProfile.
- Parameters:
@Nonnull final StringworldStructureName@Nonnull final TransformspawnPositionfinal intseed
worldStructureName
public
String
worldStructureName
()
Method worldStructureName.
seed
public
int
seed
()
Method seed.
setSeed
public
void
setSeed
(final int seed)
Method setSeed.
- Parameters:
final intseed
equals
public
boolean
equals
(final Object obj)
Method equals.
- Parameters:
final Objectobj
hashCode
public
int
hashCode
()
Method hashCode.
toString
public
String
toString
()
Method toString.
Arguments
public
record
Arguments
(int seed, long index, int x, int z, @Nullable LongPredicate stillNeeded)
Method Arguments.
- Parameters:
intseedlongindexintxintz@Nullable LongPredicatestillNeeded
stillNeeded
public
LongPredicate
stillNeeded
()
Method stillNeeded.