#Add-on Update
1 messages · Page 1 of 1 (latest)
What Addon are you makin
Is this a create addon your making for bedrock?
You should add the feature of clicking to change to add a window and watch the items go down like in the fordge mod
Well, some things have changed
are you making the create mod
If you are I could just give you the code for some of the blocks because I've been trying to make a create mod port
I would make scripts to make the port easier but what sucks is the massive changes that break every other week
Yeah, For my port I'm using scripts to make the train system
Wait, what? No... that's too much...
You made a Train System?!
Whut???
The tests on my channel are scrappy
That's insane
I got the system that replace's all the blocks with block entitys, but I'm kind of stuck trying to figure out a way for it to remember the blocks that were there before so when the player presses disassemble,it replace all the block entitys with the blocks that were there before
Oh
So it won't turn back to its original state?
How did you even make Tile Entities?
That's actually insane!
@bright ginkgo, your actually insane! In a good way!
Database or scoreboard?
Really cool what your doing, I might interested in checking out what you have if that's a possibility ig?
I dunno
I have a server that showcases it but... I dunno
heres a bit of the code ```js
System.events.scriptEventReceive.subscribe((event) => {world.getDimension("overworld").runCommandAsync('structure save area $pos1[0],$pos1[1],$pos2[0],pos2[1]')});
if (mc.world.getDimension(area.d).getBlock(new mc.BlockLocation(pos1[0], pos1[1], pos2[2],)).type == mc.MinecraftBlockTypes.grass){
overworld.spawnEntity("create:grass_block<andesite>",BlockLocation);
}
else if (mc.world.getDimension(area.d).getBlock(new mc.BlockLocation(pos1[0], pos1[1] , pos2[2] )).type == mc.MinecraftBlockTypes.dirt) {
overworld.spawnEntity("create:grass_block<glass>",BlockLocation); }
else if (mc.world.getDimension(area.d).getBlock(new mc.BlockLocation(pos1[0], pos1[1] , pos2[2] )).type == mc.MinecraftBlockTypes.stone) {
overworld.spawnEntity("create:grass_block<dirt>",BlockLocation);}
}
}
})``` also if you notice anything wrong in the code please let me know
and I got it to remeber the blocks by saving a structure in the selected area and then when the player press dismantle in the ui of the train station then it runs another script that loads the structure,kills all the tile entitys,and deletes the saved structure so that it can save a new one, when the player assembles the train
Very nice
Dp you have any videos showcasing what you got so far [I forgot where this chat was located as to why I didn't respond for a few days]
That's just astounding and remarkable!
I heard blocklocation is getting removed in 1.19.70+