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:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22