Список изменений
1.20.4-v2.17.0
Ported to 1.20.4 and now on NeoForge
General Changes
- Removed old
IForgeRegistrymethods. Vanilla registries are used now.
Registries
- All custom registries have been moved to proper NeoForge registries stored within
com.legacy.structure_gel.api.registry.StructureGelRegistriesand their respective events have been removed.- DataHandlerType
- LootTableAlias
- DynamicSpawnerType
- JigsawCapabilityType
Registrar
- General optimizations to registry behavior. Removed a number of redundant checks.
RegistrarHandler.BlockHandlerreturnsRegistrar.BlockRefinstead ofRegistrar.Static.BlockRefimplementsItemLikeand has adefaultBlockState()method.
- Added
RegistrarHandler.ItemHandler- Similar to
BlockHandlerbut specific to Items. - Creates
Registrar.ItemRefinstead ofRegistrar.Static.ItemRefimplementsItemLikeand has adefaultInstance()method.
- Similar to
- Removed
RegistrarDatapackEntriesProvider- Use
new DatapackBuiltinEntriesProvider(packOutput, gatherDataEvent.getLookupProvider(), RegistrarHandler.injectRegistries(new RegistrySetBuilder()), Set.of(my_mod_id));
- Use
- Added
@RegistrarHolder- Class annotation that allows Structure Gel to find and load
RegistrarHandlerfields within it. RegistarHandlers must bepublicandstaticto be accessible. An exception will be thrown if this is not the case.RegistarHandlers are registered duringRegisterEventduringEventPriority.HIGHEST. If you haveRegisterEventlisteners at this priority, mod load order may prevent this from working properly.
- Class annotation that allows Structure Gel to find and load
Jigsaw Capability
- Recieved a major refactor to better organize the data.
JigsawCapability.IJigsawCapability->JigsawCapabilityJigsawCapability.JigsawType->JigsawCapabilityType
Building Tool
- Added Fuzzy as an option to the Extend tool.
GelPortal block
- Thanks to
BlockTypecodec requirements, this is now an abstract class.- The
GelTeleporterfactory that was previously passed as an argument is now an abstract methodgetTeleporter(ServerLevel, GelPortalBlock)
- The
- Now has some handling for when the Axis property isn't present to allow not including it.
Data Handlers
- Fixed text boxes not always losing focus in the GUI.
- Tab-navigation no longer autocompletes the first option for text boxes that suggest a field if nothing was typed.
- Control + Pick Block now also copies if the block was waterlogged and if it should connect to other blocks.
- Updated hover-tooltips (see below).
Rendering
- Updated how hover-tooltips work for Jigsaws, Structure Blocks, and Data Handlers.
- The display name now renders with transparency, so it doesn't get cut off when it goes into a block.
- The display name also adjusts its offset according to what side of the block you're looking at, and if that side of the block is exposed.
Commands
- Added
/structure_gel nvto toggle night vision- Has optional arguments for players and if the effect should be added or removed
Misc Internal Changes
- Mixins are now located in their own package based on environment side.
client,common, andserver(unused currently)
- Packets are now located in their own package based on direction.
c_to_s,s_to_c, andbi_directional
- Redid several mixins to utilize MixinExtras for better cross-mod compat.
ExtendedJigsawPlacementhas been removed. All logic is handled through mixins to the vanilla JigsawStructure and JigsawPlacement.GelTemplatehas beem moved to the api package.
Файлы
structure_gel-1.20.4-2.17.0.jar(954.04 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.17.0
Загрузчики
neoforge
Версии игры
1.20.4
Загрузок
146
Дата публикации
January 11, 2024 at 7:10 PM
