2024-12-10 17:50:56|Myriagame |source:minecraft skins
This article will realize how to use Kubejs to add items that can be put in the fertilizer barrel
The effect is as shown in the figure
Refer to Discord
Create a new js file in Kubejs's server_scripts file (the name is self -determined but cannot be Chinese)
Add the following code to the new JS file:
serverEvents.compostablerecipes ((e) => {
Const recipes = [
{{
Input: "Minecraft: Magma_block",
CHANCE: 1,
},
{{
Input: Add the tags of items,
CHANCE: The probability and probability of compost barrels (1 is 100 %)
}
];
Recipes.Foreach ((recipe) => {
E.add (recipe.input, recipe.chance);
});
});
Save file
Return to the game input/RELOAD command and reload it again.
Finish!IntersectionIntersection
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57
The story between humans and
2025-01-28 09:16:27
Capture "Trinity 3: Artifact
2025-01-28 09:15:27
Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27
Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27
Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26
Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25
King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25
Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24
Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23
Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23
Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22
Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22
Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22