Skip to content

spawn locations should be repeatable with the same seed #100

@keturn

Description

@keturn

Games with the same seed and world generator should have the same results when they choose which chunks to spawn in.

@ReceiveEvent
public void onChunkGenerated(OnChunkGenerated event, EntityRef worldEntity) {
boolean trySpawn = config.spawnChanceInPercent > random.nextInt(100);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueGood for learners that are new to TerasologySize: SSmall effort likely only affecting a single area and requiring little to no researchTopic: WorldGenRequests, Issues and Changes related to facets, rasterizers, etc.Type: ImprovementRequest for or addition/enhancement of a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions