ShakeForFruit

If you liked this item, please rate it up on Steam Workshop page.

Authors: The|S|End ∞, TailsMizu, [G.P.]NOlZZ(MC2)

Last revision: 14 Jun, 2022 at 16:08 UTC

File size: 248.83 KB

On Steam Workshop

Description:

A mod that adds the ability to shake trees and bushes to get the corresponding fruits/berries from them.
Suitable for those who do not like the vanilla spawn system. (The mod does not turn off the vanilla spawn fruit system, see the discussion on how to turn it off. It is not necessary to turn off the vanilla spawn fruit system).
After finding the fruits on the tree, the fruits will no longer appear on it until the server is restarted.
The type of fruit is tied to the corresponding type of tree (just like in vanilla, where the type of fruit that spawns next to the tree/bush depends on the type of tree/bush).
To add physics of falling fruits/berries, you need to install the server part of the mod.

Features
  • Turn on/off messages about detection/not detection of fruits;
  • Turn on/off the reaction of zombies to the noise from the shaking of a tree/bush;
  • Adjustment of the chance of finding fruits/berries for each type;
  • Adjustment of the minimum and maximum amount of fruit and berries falling out for each type (random from minimum to maximum).

The configuration file is located in the profile folder – ShakeForFruit.json. The file itself is created after the first run.

Config explanation
  • NoFruitMessage – a message in the chat that you did not find the fruits (1 – turn on, 0 – turn off);
  • FoundFruitMessage – a message in the chat that you found the fruits (1 – turn on, 0 – turn off);
  • ReactingZombies – the reaction of zombies to the noise from the shaking of a tree/bush (1 – turn on, 0 – turn off);
  • ChanceToFindFruit+*Fruit name* – chance to find half in percent (from 0 to 100) of the corresponding type;
  • minFruit+*Fruit name* – the minimum number of fruits of the corresponding type to fall out in case of a successful "shaking" of the tree;
  • maxFruit+*Fruit name* – the maximum number of fruits of the corresponding type to fall out in case of a successful "shaking" of the tree.

It is forbidden to reload/steal the code/modify this mod without my permission.
If you find a bug, please let me know in Steam’s private messages or on discord DayaBubi #2939.

Мод, добавляющий возможность трясти деревья и кусты, чтобы получить соответствующие фрукты/ягоды с них.
Подойдет для тех, кому не нравится ванильная система спавна плодов. (Мод не отключает ванильную систему спавна фруктов, инструкция по его отключению см. в обсуждениях. Необязательно отключать ванильную систему спавна плодов).
После нахождения плодов на дереве, на нём больше не появятся плоды вплоть до рестарта сервера.
Тип плодов привязан к соответствующему виду дерева (так же как и на ваниле, где вид плода, который заспавнится рядом с деревом/кустом, зависит от вида дерева/куста).
Для добавления физики падающих фруктов/ягод вам необходимо установить серверную часть мода.

Возможности
  • Включение/выключение сообщений об обнаружении/не обнаружении фруктов;
  • Включение/выключение реагирования зомби на шум от тряски дерева/куста;
  • Регулировка шанса обнаружения фруктов/ягод под каждый тип;
  • Регулировка минимального и максимального количества выпадаемых фрукт и ягод под каждый тип (рандом от минимального до максимального).

Файл конфигурации находится в папке профиля – ShakeForFruit.json. Файл создаётся сам после первого запуска.

Разъяснение конфига
  • NoFruitMessage – сообщение в чат о том, что вы не нашли плоды (1 – включить, 0 – выключить);
  • FoundFruitMessage – сообщение в чат о том, что вы нашли плоды (1 – включить, 0 – выключить);
  • ReactingZombies – реагирование зомби на шум от тряски дерева/куста (1 – включить, 0 – выключить);
  • ChanceToFindFruit+*Название плода* – шанс найти полды в процентах (от 0 до 100) соответствующего вида;
  • minFruit+*Название плода* – минимальное количество выпадаемых плодов соответствующего вида в случае успешной "тряски" дерева;
  • maxFruit+*Название плода* – максимальное количество выпадаемых плодов соответствующего вида в случае успешной "тряски" дерева.

Запрещено перезаливать/красть код/изменять этот мод без моего разрешения.
Если вы нашли баг, пожалуйста, сообщите мне в личных сообщениях Steam или в discord DayaBubi#2939.