Script Blocks

Quick rating

Script Blocks

No reviews yet

Adds various blocks and mechanics which assist map makers and dungeon builders.

Adventure/Exploration
API/Library
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Script Blocks

This mod adds multiple blocks designed to help building adventure maps and dungeons.

Important

This mod is currently in its alpha stage, which means:

  • Not all features are implemented.
  • Existing features may not be in their final form.
  • Breaking changes can happen.
  • Existing features may be removed.
  • Expect bugs and crashes.
  • Documentation is very minimal.
  • Back up your worlds when using this mod.

Features

This mod implements a lot of different features, I will give a short and incomplete overview here.
All details will be explained in the wiki (not yet written).

Script Blocks

The basic idea is to build a "script" outside the visible parts of the dungeon.

There are blocks that can detect a player, interactable blocks, etc., which all "trigger" a configurable block position.
Then there are blocks which have functionality when they are "triggered", like mob spawners, blocks which change state, message sender, jigsaw placer, advancement giver, etc. There are also utility blocks like counter, delay and relay blocks.

The blocks are designed to be used in jigsaw structures. They are configurable via an in game UI, like the existing jigsaw blocks.

Dialogues

Dialogues are data driven and can be referenced via the 'dialogue block'.
Each dialogue is a list of strings and a list of answers. When the player chooses an answer, several things can happen:

  • another dialogue opens
  • an advancement is granted
  • a loot table is generated and the items given to the player
  • a message is send to the player
  • a block at a configurable position is triggered (refer to Script Blocks)
  • a block at a configurable position is interacted with (similar to a right-click) An answer can be (un)locked via an advancement and can have an item cost.

Shops

Shops are data driven and can be referenced via special blocks.
A shop can have multiple deals, which can be (un)locked via advancements. A deal has an item stack as offer and a list of item stacks as price.

Use Relay Blocks

When interacting with these blocks, they relay the interaction to another block.
For now they come in the form of all existing doors and trapdoors.

Teleporter blocks and locations

Teleporter blocks can teleport the player and optionally the players party to a position in a dimension. The position can be configured:

  • the players spawn point or the world spawn.
  • a specific position in a specific dimension set by another teleporter block.
  • a 'location'.

Locations are data driven. They reference a structure and a 'control block position'. The structure must be configured, so that the block at the 'control block position' is a 'location control block'. The 'location control block' tells the teleporter the teleport target position.

Locations can be (un)locked by advancements and can have an item cost. They can either be public or player specific.
Public locations are located in the overworld. Private locations are located in a 'player_locations_dimension'. Each player has one, they are dynamically generated for each player entering the world.

Housing

A housing block has an owner and an area of influence (AOI).
In the AOI only the owner can place, break or interact with blocks. Even players in adventure mode can break or place blocks here.
The owner can add other players to different lists, which grants them various rights in the AOI, like placing, breaking or interacting with blocks.

Housing blocks have two different modi to determine their owner.

  • Interaction, the owner can be set by interacting with the housing block. The owner can revoke ownership of the housing block.
  • Dimension, when the housing block is placed in a 'player_locations_dimension', the player owning the dimension also owns the housing block

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works