Chrysalis

Chrysalis

Mod

Flying past the boundaries of what you can do with a Minecraft library mod!

Client and server Game MechanicsLibraryManagementUtility

36.6k downloads
20 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...

Tooltips:

  • The chrysalis mod name tooltip now displays on nether portal, end portal, and end gateway block items.
  • Added the addModNameTooltip method to ItemHelper, which allows for mods to easily add a mod name tooltip with their mod's name to items similarly to the chrysalis ones.
  • Added the addVanillaDescriptionComponent, which allows for mods to easily add new tooltips to vanilla items using their own mod's namespace.
  • Items with repair ingredients now display said repair ingredient on a tooltip while the player is in an anvil gui.

Data-Driven Features:

  • All custom json data now has an enabled field that replaces the previous for_testing field, which can be set to either true, false, or debug_environment_only.
  • Renamed the custom splash text system's for_testing field to debug_environment_only.

Fluidlogging:

  • Added the getStateAtPos method to SimpleFluidloggedBlock, which helps access the fluidlogged state based on a fluid type at a specific block position.
  • Checking for specific properties related to fluidlogged blocks now has a fallback for air blocks to prevent crashing.

Commands:

  • Added the /chrysalis command, which can currently be used to either check the current chrysalis version, or reload all chrysalis data registries.
  • The /locate command now automatically displays its error message if a world cannot generate structures, to prevent the game from infinitely searching for a structure and getting caught in a lag loop.

Miscellaneous:

  • Nether portal and end portal block models now visually match their item counterparts.
  • All game rules have had their ids updated from gameRuleName to chrysalis:gameRuleName, and a new itemCooldowns game rule has been added to specify whether or not items should apply cooldowns.
  • Player heads now have a unique equipping sound similarly to other mob heads.
  • Kill wands can now properly kill squids and glow squids, and now stop slimes and magma cubes from splitting.
  • Added a config option for displaying the experimental world warning upon joining a world with experimental settings.
  • Added the emitRedstoneParticlesAroundBlock method to ParticleHelper.
  • Added the emitBlockStateChangeEvents and cycleRedstonePoweredState methods to BlockHelper.
  • Colored portal particles are now emissive and can have their color randomized.

  • Added the flips_over_upon_death and does_not_flip_over_upon_death entity tags, which determines whether a living entity does a 180-degree flip when dying (like spiders), or if it doesn't flip over at all.

  • Glass and glass pane blocks now occlude faces against other blocks of the same classification.

  • Standing within a fluidlogged block with water and a fluidlogged block with lava at the same time no longer spams the fire extinguishing sound.

  • Carved pumpkins and mob heads now hide the player's name tag while worn.

  • Added a built-in resource pack that hides carved pumpkin overlays, with planned integration with my other mod, Endless Encore.

  • Added nether portal, end portal, and end gateway block items.

  • Added the CustomTntBlock class, which is used to assist with creating custom TNT types.

  • The /enchant command now takes an optional 'max' field in place of the level value, which sets the given enchantment to the maximum level.

  • The block conversion datapack registry system now takes a sneaking_requirement field. The available options are: none or null, sneaking, and not_sneaking.

  • Renamed EntityDataHelper to EntityHelper, and reorganized various methods within it.

  • Added the dropFromLootTable method to EntityHelper.

  • Added the ParticleHelper class, which contains various common particle methods.

  • Tweaked a few debug item descriptions slightly.

  • Added can place and can break tooltips to ItemHelper.

  • Added the getNonLivingEntityLootTable method to EntityDataHelper.

  • Added a block conversion datapack system, which can be used to convert blocks from one block to another. (An example can be found at data/chrysalis/block/conversion/example.json)

Chrysalis is now fully moved over to NeoForge! There are way too many changes to write properly in a changelog, so the wiki will be updated sometime soon reflecting everything!

NOTE: This version is the last version of Chrysalis for Fabric, as I have moved over to NeoForge! This will remain here for any mods currently utilizing the Fabric version, but I am now considering it deprecated.

Changelog:

  • Fixed an issue with the categoryName and groupNameWithCustomFont methods in ConfigHelper.

Project members

Sydokiddo

Owner

Soumeh

Member

Details

Published 2 years ago
Updated a month ago