Is it possible to use MakeCode to place a chest and fill it with items?
It is simple enough to place blocks and items, but is it possible to place a chest or dispenser and then fill it with armor or water using the code blocks?
-
Hi Brett Girod! Chests and dispensers are not available in code blocks, but you could place a filled chest or dispenser and use code blocks to clone it somewhere in the world. Would that work with what you're thinking?
1 -
Not quite. The goal would be to load a makecode program that instantly generates a chest with a torch above it and a pickaxe inside it. This way, once the program is created, students would be able to use the program again and again in a variety of worlds.
0 -
You could make the agent drop the item into a hopper, where it goes to a chest. then make a hopper and dropper underneath, to drop the items again when needed.
0 -
Clever solution -- I will try to work on that. I have not explored using the agent for collecting and dropping.
0 -
Python AZNB to the rescue again!!! I'm telling you folks, Python is where it is at!
Maybe I should do a recruitment meeting! =]
world.set("~ ~ ~1","chest")world.put_in("~ ~ ~1","glass bottle",1,2)2 -
Debbie Alexander I like th sound of that. Maybe a python happy hour?
1 -
=] I think I will look into a friend making a picture of the Agent dipping his toe in the water of Python coding! =]
0 -
Going to try this!
0
Please sign in to leave a comment.
Comments
8 comments