Structure Gel API 1.17.1/1.16.5 (Creating Structures Easier)

Author:
ModdingLegacy, silver_david, Lachney, KingPhygieBoo
5 hours ago ❘ 35,044
views

Structure Gel API 1.17.1/1.16.5 is an API mod designed to make creating structures easier on the developers, specifically ones using the jigsaw system. All code is open source and documented.

Structure Gel API

Features:

Structure Gel Block:

This block is a creative tool to fill the insides of structures easily. The gel is replaced with air when your structure generates while all air is ignored when being placed. This ensures that your structures won’t have natural terrain where it shouldn’t be. The gel block behaves similarly to structure voids in that you can walk through it, while actually being visible.

When placing gel while sneaking, you can trigger the spreading mechanic. Each gel spreads differently, and you can read how they work by hovering over the item.

Red Gel: Red gel uses the default spreading mechanic, spreading along the cardinal directions, only replacing air.

Structure Gel API Screenshots 1

Blue Gel: Blue gel functions similarly to red, except it won’t spread into locations where the sky can be seen.

Structure Gel API Screenshots 2

Green Gel: Green gel spreads the same as red gel, with the addition of also spreading diagonally. This allows it to get through corners created by vines or other complex builds. Be careful not to let it leak outside of your build.

Structure Gel API Screenshots 3

Cyan Gel: Cyan gel acts as a combination of green and blue gel, by both spreading diagonally and avoiding the sky.

Structure Gel API Screenshots 4

Orange Gel: Orange gel behaves the same as red gel, but the distance it spreads is determined by how many you’re holding when you place it, making it handy for builds in open areas.

Structure Gel API Screenshots 5

Yellow Gel: Yellow gel will only spread along the plane that you’re facing when you place it, making it great for sealing off walls, windows, or other holes that the gel would otherwise go through.

Structure Gel API Screenshots 6

Removing Gels:

Gel can be removed by using gunpowder on it. Doing this will trigger a chain reaction, removing all connected gels of the same type.

Structure Gel API Screenshots 7

Examples: Here’s an example of how it could be used in a build. If this structure were loaded into the game, the gel inside would be replaced with air, while the air outside would not be placed.

Structure Gel API Screenshots 8

The code for this block is designed in a way such that you can easily extend it and hook into its behavior with methods in blocks.IStructureGel, should you need behavior not already implemented.

Requires:

Minecraft Forge

How to install:

  1. Make sure you have already installed Minecraft Forge.
  2. Locate the minecraft application folder.
    • On windows open Run from the start menu, type %appdata% and click Run.
    • On mac open finder, hold down ALT and click Go then Library in the top menu bar. Open the folder Application Support and look for Minecraft.
  3. Place the mod you have just downloaded (.jar file) into the Mods folder.
  4. When you launch Minecraft and click the mods button you should now see the mod is installed.

Structure Gel API 1.17.1/1.16.5 Download Links:

For Minecraft 1.14.4

Download from Server 1

For Minecraft 1.15.2

Download from Server 1

For Minecraft 1.16.1

Download from Server 1

For Minecraft 1.16.2

Download from Server

For Minecraft 1.16.3

Download from Server 1

For Minecraft 1.16.4

Download from Server 1

For Minecraft 1.16.5

Download from Server 1

For Minecraft 1.17.1

Download from Server 1

Click to rate this post!

[Total: 1 Average: 5]

Source