Only can use these in 1.12.2
How to convert to 1.15.2?
Question:
How to use the replace (one type block only into another block only) command in fill / setblock command?
Like: fill ~-1 ~ ~ ~-1 ~ ~ repeating_command_block {TileEntityData:{Command:"/function exxabite:test",auto:1b}} etc?
Self powered command block with /function exxabite:fill
And an always active (comment out ('#') commands in fill.mcfunction, use /reload, then block does not start direct) command block with the command:
/function exxabite:fill
and set it to always active (+repeating?)
Place the block, hold CTRL and press middle mouse button -> copy to inventory.
Then un-comment the commands from fill.mcfunction, type /reload again, the block works when placed)
On GitHub: (Also source for MinecraftWorldEditor c/c++, including lots of stuff, like nbt edit, .mca file creator, voxelizer, Google 3d downloader)
And also Google drive:
Hello, i have a question: This works with 1.12.2:
Create self powered command_block:
/give @me minecraft:command_block
Insert command: /function exxabite:test (Always active)
(Maybe comment (‘#’) out statements in saves/world/data/exxabite/test.mcfunction first).
/reload (reload functions)
Put block down, copy to inventory: ctlr + middle mouse button.
(Then uncomment (‘#’) out statements in saves/world/data/exxabite/test.mcfunction).
/reload
(Block gets active then….)
Block also is inside level.dat. (https://github.com/HakkaTjakka/Minecraft-1.12.2-Den-Hague-More-TNT)
Runs only on 1.12.2 till now. (need info on directory for functions and usage of fill/setblock command.
Place block -> floodfill (left/right, north/south, down). Replacing only air to water.
Command in repeating/self powered command block:
“/function exxabite:test” (without the quotes)
File in: saves/world/data/exxabite/test.mcfunction
fill ~-1 ~ ~ ~-1 ~ ~ repeating_command_block 0 keep {Command:"/function exxabite:test",auto:1b}
fill ~1 ~ ~ ~1 ~ ~ repeating_command_block 0 keep {Command:"/function exxabite:test",auto:1b}
fill ~ ~ ~-1 ~ ~ ~-1 repeating_command_block 0 keep {Command:"/function exxabite:test",auto:1b}
fill ~ ~ ~1 ~ ~ ~1 repeating_command_block 0 keep {Command:"/function exxabite:test",auto:1b}
fill ~ ~-1 ~ ~ ~-1 ~ repeating_command_block 0 keep {Command:"/function exxabite:test",auto:1b}
setblock ~ ~ ~ water
Only can use these in 1.12.2
How to convert to 1.15.2?
Question:
How to use the replace (one type block only into another block only) command in fill / setblock command?
Like: fill ~-1 ~ ~ ~-1 ~ ~ repeating_command_block {TileEntityData:{Command:"/function exxabite:test",auto:1b}} etc?
Self powered command block with /function exxabite:fill
https://youtu.be/6qW7vLGR_4w (demo).
https://www.youtube.com/watch?v=MtoYSXM32xQ
Ok. I got it working for 1.15.2 now...
You need this directory structure, like in here (datapacks)
https://drive.google.com/drive/folders/1CpZNVoF67IbI-6axhiI0VhlXajw9B1Pf?usp=sharing
In this case its:
worldname\datapacks\floodfill\data\exxabite\functions\fill.mcfunction (for the function(s)).
worldname\datapacks\floodfill\data\minecraft\tags\functions\load.json
worldname\datapacks\floodfill\data\minecraft\tags\functions\tick.json
worldname\datapacks\floodfill\pack.mcmeta
File worldname\datapacks\floodfill\data\exxabite\functions\fill.mcfunction contains:
File worldname\datapacks\floodfill\pack.mcmeta contains: (pack_format 5 for 1.15.2 ??)
And an always active (comment out ('#') commands in fill.mcfunction, use /reload, then block does not start direct) command block with the command:
and set it to always active (+repeating?)
Place the block, hold CTRL and press middle mouse button -> copy to inventory.
Then un-comment the commands from fill.mcfunction, type /reload again, the block works when placed)
You can also zip the data like:
https://drive.google.com/file/d/1FvfaSQFnxxxbvV8k3Mg2gnrKElLcktGs/view?usp=sharing
Then place it in the datapacks dir of the world.
Note: When using multiverse, place it in the main world datapacks dir.
For demo: Google 3d Den Hague voxelized to minecraft 1.12.2 (Den Hague - TNTunneled More TNT)
https://drive.google.com/drive/folders/1RuIClj5k9hI7i3NJv5cLOhdohfn4S9tR?usp=sharing
On GitHub: (Also source for MinecraftWorldEditor c/c++, including lots of stuff, like nbt edit, .mca file creator, voxelizer, Google 3d downloader)
And also Google drive:
https://github.com/HakkaTjakka
https://drive.google.com/drive/folders/12TwAJk4L6kch_bv6_96yDbOMX_gp0IfU?usp=sharing