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

BeaconExtender

A simple server-side mod that allows the range and number of layers of a beacon to be configured.

Modrinth game-mechanics utility

Описание

# Beacon Extender This is a simple server-side mod that allows the range and number of layers of a beacon to be configured. ## Features - Set a maximum amount of beacon _layers_ that will improve effects - Define the _beacon range_ and _effect duration_ to increase either **linearly** or **exponentially** with customizable parameters - Flexible configuration and in-game reloading - Displays the amount of active layers in the beacon ui > [!WARNING] > Be careful when using the **exponential** function(s). They can get large very quickly. > For security reasons, the values of the _beacon range_ and _effect duration_ are both clamped at 10'000.0 blocks/seconds respectively. ## TODOS ## Configuration You will find a configuration file `beaconextender.json5` in your usual `.minecraft/config` folder. ```json5 { // Show the number of active layers in the beacon ui showBeaconLayers: false, // Defines the maximum number of beacon layers that will change the effect maxLayers: 6, // Defines the type of the range function. // Can be either "EXPONENTIAL" or "LINEAR". // The exponential function gets evaluated like // f(layers) = param1 * param2 ^ layers // The linear function gets evaluated like // f(layers) = param1 * layers + param2 rangeFunctionType: "LINEAR", // The first parameter of the range function. rangeFunctionParam1: 10.0, // The second parameter of the range function. rangeFunctionParam2: 10.0, // Defines the type of the effect duration function. // Can be either "EXPONENTIAL" or "LINEAR". // The exponential function gets evaluated like // f(layers) = param1 * param2 ^ layers // The linear function gets evaluated like // f(layers) = param1 * layers + param2 effectDurationFunctionType: "LINEAR", // The first parameter of the effect duration function. effectDurationFunctionParam1: 10.0, // The second parameter of the effect duration function. effectDurationFunctionParam2: 10.0, } ```