2024-12-15 01:41:08|Myriagame |source:minecraft skins
Block synthetic block crafting
Block synthesis enables you to make items and other things by building a multi -block structure.To build a specific structure, right -click the core block with specific items, the structure will disappear, and leave some synthetic items, summon some creatures, or do anything you want.
You can use Kubejs to define this formula.
(Subsequent supplementation)
At server_scripts:
The first one (manually)
blockcraft.addmultiblockStruction (MultiblockStructionBuilder.create ("TEST") .Pattern ("ddd") .Pat TERN ("DDD", "GGG") .pattern ("PDS"," Gdg ") .center (" s ", blocks.stone) .whereCond (" d ", b => b == blocks.dirt) // // means that D means a square B (You can use a string) .Where ("g", blocks.grass_block) // indicate that G represents a straw block (you can use a string) .Wheretag ("P", "Minecraft: Planks")) indicates that P means Planks with Planks with PlanksAny blocks of labels (can be used with string) .craftingItem ("Minecraft: Stick") // You need to hold the trigger iTeM.craftingItemtag ("Forge: Ingots") // You need to hold the trigger tag item .Result ("2x 2XMinecraft: Diamond ") // Output .Result (item.of (" minecraft: Golden_sword "). Withnbtpre>The second type (read. NBT structure)
blockcraft.addmultiblockStruction (MultiblockStructureFileBuilder.create ("FileTest") .file ("Structures/Filete st.nbt ") // You can read any path (within .minecraft) .center (blocks.Oak_log) .craftingItem ("Minecraft: Stick"). CraftingItemcond (i => i == items.stick) .craftingItemtag ("Forge: Ingots") .Result ("100x m incrat: diamond ") .build ());physical output Block Crafting supports output Entityblockcraft.addmultiblockStruction (MultiblockStructionBuilder.create ('TEST1') .pattern ('AAA', 'AAA, ',' Aaa ') .pattern (' Aaa ',' ABA ','aaa ') .pattern (' AAA ',' AAA ',' Aaa '). Where (' A ',' Minecraft: Cobblestone ') // Multi -square block structure 1.Where (' B ',' Minecraft: DIRT ')// Multi -block structure 2.Center ('A', 'Minecraft: Cobblestone') // Right -click the position of the click. CRAFTINGITEM ('Minecraft: Stick') // The synthetic items .Resultitity ('Minecraft: Pig') //Output entity: pig .build ())Output
blockcraft.addmultiblockStruction (MultiblockStructionBuilder.create ('TEST1') .pattern ('AAA', 'AAA, ',' Aaa ') .pattern (' Aaa ',' ABA ','aaa ') .pattern (' AAA ',' AAA ',' Aaa ') .Where (' a ',' Minecraft: Cobblestone ') .Where (' B ',' Minecraft: Redstone_block ') .Center (' a ', 'MINECRAFT: Cobblestone'). CraftingItem ('Immersivengineering: Hammer') .Resultitem ('Minecraft: Diamond_block')) // Output item: diamond_block. Build ())NoteWhen naming the multi -block structure, bring the naming space, for example:
Minecraft: DIRT √
DIRT ×
If the name space is not added, KJS cannot read the structure.
Reminder
.pattern ('aaa', 'aaa', 'bbb') .pattern ('aaa', 'aba', 'bbb') .pattern ('Aaa', 'AAAAA,',' Bbb ')This string of Pattern interpretation
'aaa''aaaaaaaaa'As the first layer
'aaa''aba'Aba'aaa 'As the second layer
'bbb'bbb'bbb'As the third layer
The goal of MC Encyclopedia (MCMOD.CN) is to provide players with a better environment for MOD learning and research, and accept and cultivate more hardcore players.Provide Minecraft (Minecraft) MOD (module) item data introduction, tutorial strategy and MOD download, and is committed to improving the player's game experience.About the encyclopedia Encyclopedia help development log Donate Encyclopedia to follow the encyclopedia B station = "Fa Fa-Anagle-Right"> Opinions feedback Email © CopyRight Mc Encyclopedia 2013-2024 mcmod.cn |
In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.
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