#(Bloxton) Setting up a minigame arena

10 messages · Page 1 of 1 (latest)

queen socket
#

I'm opening this thread in hopes of getting ideas on how to go about setting up an arena for a minigame I'm making. Key points:

  • It's supposed to be an indestructible arena with certain areas that can be mined,
  • mineable blocks should be procedurally generated.

What approach should I take here? As far as I can tell my best option might be to have a template arena world and create new instances from it, then go from there. But then, should I have schematics of "rocks" to paste in, or use modifyblock to randomly place blocks, or some other way I can't think of?

Very interested in your ideas.

twilit raftBOT
#

(Bloxton) Setting up a minigame arena

twilit raftBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

vapid duneBOT
#
Changed to Discussion

Thread is now a Discussion thread. This indicates that the thread is not requesting help in any way, and is just discussing a broad topic openly. If you need help with something, use </helpthread:1028674284870180883> to switch the thread back to a normal help thread.

spark oracle
#

!e breaks block

gentle mirageBOT
# spark oracle !e breaks block
Group

Player

Event Lines

player breaks block player breaks <material>

Switches

with:<item> to only process the event when the player is breaking the block with a specified item.

Triggers

when a player breaks a block.

Has Player

Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.location> returns the LocationTag the block was broken at.
<context.material> returns the MaterialTag of the block that was broken.
<context.xp> returns how much XP will be dropped.
<context.should_drop_items> returns whether the event will drop items.

Determine

"NOTHING" to make the block drop no items.
ListTag(ItemTag) to make the block drop a specified list of items.
ElementTag(Number) to set the amount of xp to drop.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

True - this adds <context.cancelled> and determines cancelled + cancelled:false.

spark oracle
#

You could disallow blocks to be broken, unless their location is flagged as breakable.

#

If it is a specific material, you could listen for that.

#

As for generating blocks. Sounds little more than a listtag.random, where your list is filled with possible choices. Unless you want to have more advanced filtering, or logic.