#Add-on Update

1 messages · Page 1 of 1 (latest)

winged dune
#

There are many things I've done
I'll just show one of them

This Chute is unfinished, it has a distinct appearance from Create's Chutes

hoary comet
#

What Addon are you makin

sly hedge
#

You should add the feature of clicking to change to add a window and watch the items go down like in the fordge mod

winged dune
#

Well, some things have changed

bright ginkgo
#

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

sly hedge
#

I would make scripts to make the port easier but what sucks is the massive changes that break every other week

bright ginkgo
#

Yeah, For my port I'm using scripts to make the train system

winged dune
#

The tests on my channel are scrappy

#

That's insane

bright ginkgo
#

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

winged dune
#

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!

sly hedge
#

Really cool what your doing, I might interested in checking out what you have if that's a possibility ig?

winged dune
bright ginkgo
# sly hedge Database or scoreboard?

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

bright ginkgo
#

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

sly hedge
#

Very nice

sly hedge
winged dune
#

Sorry, I was doing stuff

#

Woah, that's a beautiful script

winged dune
sly hedge
#

I heard blocklocation is getting removed in 1.19.70+