Structure Gel API

An API for simplifying the developer end of creating generated structures.
Back to Files

Structure Gel API 1.16.1-v1.2.1

File namestructure-gel-api-1.16.1-1.2.1.jar
Uploader
silver_davidsilver_david
Uploaded
Jul 30, 2020
Downloads
375.9K
Size
111.5 KB
Mod Loaders
—
File ID
3018650
Type
R
Release
Supported game versions
  • 1.16.1

What's new

Fixes a compatibility issue with version 1.2.0 (archived)

Version 1.2.0's Changelog:

Internal code base updates for developers focusing on mob spawns.

 

Additions:

- Added the getspawns command to show what mobs can spawn at your location. It does not take actual spawn conditions like light level into account, only what is allowed to be there assuming all conditions are met.

Changes:

- Configs

    - Now work as a builder so that you can customize exactly what you want to have configurable.

        - Usage: new StructureConfigBuilder(builder, "name").probability(0.75).spacing(10).offset(4);

    - The old BiomeStructureConfig and StructureConfig still work as they used to, but now extend off of this new system.

    - Mob spawns can now be configurable for every mob spawn category.
        - Config syntax: [entityID, weight, minGroupCount, maxGroupCount]

        - Example: "[minecraft:zombie, 1, 2, 4][minecraft:skeleton, 2, 2, 4]"

- Structures

    - Spawns can now be set for every mob classification instead of only hostile and creature.

        - These values are stored in a Map and are set with GelStructure.setSpawnList(EntityClassification, List<SpawnListEntry>). I recommend doing this in your constructor.

        - The old getSpawnList() and getCreatureSpawnList() methods can still be used, but I recommend using the previously mentioned Map as all mob types are handled automatically with it.

        - Spawns are now configurable with GelConfigStructure. (see Configs section)

- Json Structures

    - This feature has been deprecated and will likely be removed or heavily changed in the future since 1.16.2 does a lot of what this currently does.

    - Added the ability to set mob spawns, similar to how the config does it.

Fixes:

- The RegistryHelper methods for registering structures now return "<C extends IFeatureConfig, S extends Structure<C>> S" as opposed to "<C extends IFeatureConfig> Structure<C>", meaning it will return the Structure class passed in.

- GelStructureStart was extending MarginedStructureStart instead of StructureStart

- Json structures were being placed in the sky.

- Gel blocks no longer cause block updates when possible. Hopefully this helps with fps lag when using them, but 1.16 is just silly.

 

This mod has no related projects