Tooltips:
- The chrysalis mod name tooltip now displays on nether portal, end portal, and end gateway block items.
- Added the
addModNameTooltip
method toItemHelper
, 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 previousfor_testing
field, which can be set to eithertrue
,false
, ordebug_environment_only
. - Renamed the custom splash text system's
for_testing
field todebug_environment_only
.
Fluidlogging:
- Added the
getStateAtPos
method toSimpleFluidloggedBlock
, 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
tochrysalis:gameRuleName
, and a newitemCooldowns
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 toParticleHelper
. - Added the
emitBlockStateChangeEvents
andcycleRedstonePoweredState
methods toBlockHelper
.
-
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
ornull
,sneaking
, andnot_sneaking
. -
Renamed
EntityDataHelper
toEntityHelper
, and reorganized various methods within it. -
Added the
dropFromLootTable
method toEntityHelper
. -
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)
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
andgroupNameWithCustomFont
methods inConfigHelper
.