← Назад к ресурсам

Lilligant

A bunch of utility mixins

Modrinth

Описание

# Lilligant This is my utility mod. ## Features ### Sweet Berry Bushes no longer slow Sweet berry bushes will never slow the player anymore. ### Enchantments Lilligant adds a new `Aerial Affinity` enchantment which can be placed on a helmet to reduce the normal on-ground speed penalty that you get when mining. This can be disabled in the configuration. Lilligant hooks into how enchantment levels are calculated, allowing you to pretend like a player or an item has an enchantment (when they really don\'t). Implement `EnchantmentEffectInterceptor` and register it with said interface in your mod initialiser. Lilligant includes a default enchantment interceptor that allows certain enchantments to be simulated if you have a status effect that is in a specific `mob_effect` tag. - `lilligant:gives_aqua_affinity` - Acts as if you have the Aqua Affinity enchantment effect. By default, this contains the Water Breathing status effect. - `lilligant:gives_frost_walker` - Acts as if you have the Frost Walker enchantment effect. This has no default tag entries. - `lilligant:gives_aerial_affinity` - Acts as if you have the Aerial Affinity enchantment effect. By default, this contains the Slow Falling status effect and the Levitation status effect. ### Entity Blocking Lilligant blocks entities from spawning at the lowest level - the entity manager - meaning that entities are well and truly unable to spawn. This is configurable in the `entity_blocker.toml` configuration file. ### Sniffer Cooldown Adjustment The `snifferCooldown` parameter in the content configuration can be used to customise how many ticks a Sniffer will be on cooldown after sniffing something up, making it easier to make Sniffer farms for e.g. torchflowers. ### Portal Blocking Lilligant adds a small API that can prevent portals from forming based on overworld conditions. It also includes a built-in handler that stops portals from working based on height (disabled by default). See the `NetherPortalFormationInterceptor` class for more information. ### Narrator Error Suppression Lilligant automatically suppresses the log on startup caused by a missing `libflite.so`. ### Peaceful Mode Enforcement Lilligant adds a new configuration option to allow forcing peaceful mode. This locks the difficulty to Peaceful both in-game and during world creation, and makes mob spawners automatically delete themselves on tick as a small micro-optimisation. In addition, Lilligant will disable the hunger bar from rendering in peaceful mode. ### JVM Argument Checking Lilligant adds a warning screen that warns the player if they\'ve added useless (-XX:+EnableG1GC) or harmful (-XX:MaxTenuringThreshold=1) JVM args. ### Auto-Kill Ender Dragon On peaceful mode, the ender dragon will be automatically killed. An end portal and end gateway will be generated like normal. ### Wayland Fixes Lilligant patches a handful of Blaze3D methods to support booting on Wayland natively if a GLFW version built for Wayland is used (e.g. 3.4.). ### Lang Overriding Lilligant adds an extremely late language overrider that will forcibly overwrite language keys for the provided lang. Useful for when dynamic resources WON'T BEHAVE