мод на майнкрафт structure gel api

Structure Gel API 1.17.1/1.16.5 (Creating Structures Easier)

Author: ModdingLegacy, silver_david, Lachney, KingPhygieBoo ❘ 1 week ago ❘ 35,510 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. Смотреть фото мод на майнкрафт structure gel api. Смотреть картинку мод на майнкрафт structure gel api. Картинка про мод на майнкрафт structure gel api. Фото мод на майнкрафт 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. Смотреть фото мод на майнкрафт structure gel api. Смотреть картинку мод на майнкрафт structure gel api. Картинка про мод на майнкрафт structure gel api. Фото мод на майнкрафт structure gel api

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

мод на майнкрафт structure gel api. Смотреть фото мод на майнкрафт structure gel api. Смотреть картинку мод на майнкрафт structure gel api. Картинка про мод на майнкрафт structure gel api. Фото мод на майнкрафт structure gel api

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. Смотреть фото мод на майнкрафт structure gel api. Смотреть картинку мод на майнкрафт structure gel api. Картинка про мод на майнкрафт structure gel api. Фото мод на майнкрафт structure gel api

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

мод на майнкрафт structure gel api. Смотреть фото мод на майнкрафт structure gel api. Смотреть картинку мод на майнкрафт structure gel api. Картинка про мод на майнкрафт structure gel api. Фото мод на майнкрафт structure gel api

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. Смотреть фото мод на майнкрафт structure gel api. Смотреть картинку мод на майнкрафт structure gel api. Картинка про мод на майнкрафт structure gel api. Фото мод на майнкрафт structure gel api

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. Смотреть фото мод на майнкрафт structure gel api. Смотреть картинку мод на майнкрафт structure gel api. Картинка про мод на майнкрафт structure gel api. Фото мод на майнкрафт structure gel api

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. Смотреть фото мод на майнкрафт structure gel api. Смотреть картинку мод на майнкрафт structure gel api. Картинка про мод на майнкрафт structure gel api. Фото мод на майнкрафт structure gel api

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 Mod 1.16.5/1.15.2/1.14.4

Structure Gel API Mod 1.16.5/1.15.2/1.14.4 created to crafting structures smoother on the developers, especially ones applying the jigsaw system. All code is an open resource.

мод на майнкрафт structure gel api. Смотреть фото мод на майнкрафт structure gel api. Смотреть картинку мод на майнкрафт structure gel api. Картинка про мод на майнкрафт structure gel api. Фото мод на майнкрафт structure gel apiStructure Gel API

Features

These are some features that mod supplies

Structures Gel Block

Removing Gels

Gels can be eliminated by utilizing the gunpowder on it. Implementing this will enable a chain reaction, deleting all linked gels of similar kinds.

Examples

Accessories

Registry Utilities

Config

The ConfigTemplates class consists of two diverse templates to accept your structure to possess configurable distancing ability, and even which biomes it should/ should not create in. Enroll these templates in the config file similar to what you will do any other config choice.

Jigsaw System

The JigsawRegistryHelper and JigsawPoolBuilder considerably curtail the work needed to enroll a structure. The instance below, replacing the vanilla code for a delta village town central to this system has a half character decreasing.

JigsawRegistryHelper

JigsawPoolBuilder

Weight (int): Install the weight of pieces came through in with names (). For code performance, use this before installing names.

names(Map), namesR(Map), name(Collection), namesR(Collection), names(String…), namesR(ResourceLocation…): The map choices will utilize the Integer genre since the weight of the piece. All others will be supposed the weight to be 1 or the worth set with weight (). Utilizing Strings will accept the modid and prefix from the JigsawRegistryHelper that generated it to be gotten into account, whilst ResourceLocation skip them.

Processors (StructureProcessor…), processors(List): These are the StructureProcessors that each piece set in name() will utilize to appoint placement settings. This functions, inserting the current processors in a builder. There are different processors in the API for uncomplicated block swaps that you could realize between lines 57 and 75.

maintainWater(boolean): upon your structure is put in the water, should waterloggable become waterlogged, by default.

placementBehavior( JigsawPattern.PlacementBehavior): Install the placement behavior of the pieces in this pool. Actually, it is better for you than carrying out in the JigsawRegistryHelper. Hard by default. The JigsawPoolBuilder.collect() way displayed on line 77 accepts multi JigsawPoolBuilders to be collected into the one pool, keeping up the private weights and settings for each piece.

GelJigsawPiece

structure.jigsaw.GelJigsawPiece is an expansion of the Vanilla SingleJigsawPiece that accepts addition with structure gel blocks, includes accessors for installing how it should treat in water, and accepts for data structure blocks to be applied within jigsaw structures (asks GelStructurePiece)

GelStructurePiece

structure.jigsaw.GelstructurePiece is an expansion of the Vanilla AbstractVillagePiece that includes accessors to obtain the information in terms of your structure, shortcuts for some processes such as generating creatures, and the possibility to apply data structure blocks within your jigsaw structures (asks GelJigsawPiece).

Here are all the commands and the usage of the mod Structure Gel API Mod. We all hope that these will be helpful for players of Minecraft.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *