2024-12-10 17:44:41|Myriagame |source:minecraft skins
1. Download Kubejs Put in the MODS folder and start the client/service side once
2. The client/server directory is more Kubejs folder, enter the folder, find the client_scripts/server_scripts folder, create a new x.js file in the folder or directly modify the Example.js file
Third, use the record book or NotePad-or VSCode to open the JS file editing content, take Mek's mine as an example as the following
<<<<<<] = "assh: none;">> serverersion
// 1. Mine vein generation
// Generate ore veins (name: rough ore, map: mekanism: raw_osmium), generate rules (average interval of 128 blocks, minimum spacing 8 blocks, random numbers), ID (kubejs: mek_osmium);When needed, it is also used as
event.recipes.createoreexcavation.vein('{"text": "粗锇矿"}', 'mekanism:raw_osmium').placement(128, 8, 64825185).id("kubejs:mek_osmium")
// The above is the minimum configuration item for generating ore veins. The generating veins also include the following options
.Priority (0) // When multiple minerals hit the same block, the mineral pulse with high value was used
.AlwaySfinite () // ore veins are not unlimited mining, and do not add default believes .lwaySinfinite ()
.veinsize (3, 8.5) // ore vein size, 3000-8500; when the mine vein is not unlimited, it takes effect when it is unlimited .biomewhitelist ('Minecraft: is_overworld') //*
// 2. Mining pulse mining
// After generating ore veins, how to minimize the configuration
// Out of single items
// Mineral configuration (output: Mekanism: raw_osmium, in Kubejs: MEK_OSMIUM ore vein, each collected 32 RPM requires 600 ticks at a time), ID (kubejs: mek_vein1)
Event.recipes.createoreExcavation.drilling ('Mekanism: raw_osmium', 'kubejs: mek_osmium', 600) .id ("kubejs: mek_vein1")));
// Out of multiple items, and there is a chance
// Mineral configuration (output: Mekanism: RAW_OSMIUM and 5%chance Minecraft: diamond, in Kubejs: MEK_OSMIUM ore vein, each collected at 32rpm requires 600 TICK), ID (Kubejs: MEK_VEIN1)
Event.recipes.createoreExcavation.drilling (['Mekanism: raw_osmium', item.of ('minecraft: diamond'). WithChance (0.05)], 'kubejs: mek_osmi um ', 600) .id ("kubejs: mek_vein1");
// Outlet fluid
// Fluid configuration (output: Minecraft: LAVA 2000ml from Kubejs: lava ore vein, each collected at 32 RPM requires 100 ticks); the fluid can only produce one type, without the default default default default default default default defaults to 1000ml.
Event.recipes.createoreExcavation.extracting ('Minecraft: LAVA 2000', 'Kubejs: LAVA', 100) .id ("Kubejs: My_lava_vein"))
// Minerals and fluids are commonly available for optional configuration
.Fluid ('Minecraft: lava 10') // Need a fluid mincraft: lava, 10ml each time, not configured to 1000ml
.Drill ('CreateoreExcavation: Diamond_drill') // Need to be diamond and diamond (the lower alloy drill bit is Createorexcavation: Netherite_drill)
.Stress (512) // Need stress 512 XRPM, without default 256
})
*Note: Black and white list group support label-biological group system
Reference for default value:
Mineral -generated interval generating spacing required stress
XRPM
32 Under the speed, Tick Remarks 1288256600
Gold 12832192600
Green Stone 1288256400
Emerald 256645121200
Fluorite 12882561200
Hongshi 12816256600
Copper 1288256600
Zinc 1288256600
Coal 1288256200
Diamond 256645121200
Below Joyo 12885121200
Below Golden Grain 25664192400
Ancient Blossom 51212820484000
Need: lower alloy drill, 1000ml magma;
Products: 20%of the ancient wreckage, 80%gold grain, 80%lower rock, and 50%of magma blocks
Water 64825620/500ml fluid
It can be configured according to the degree of scarcity of mineral production and hardness in reality to maintain the relatively balanced minerals
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