Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on May 27, 2023. It is now read-only.
/ScaffoldingPublic archive

Schematic library for Minestom

License

NotificationsYou must be signed in to change notification settings

hyperadev/Scaffolding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WarningThis project is no longer maintained.
We will no longer be accepting pull requests, addressing issues or making any future releases.

Alternatives


Scaffolding is a library for Minestom that allows you to load and place schematics.

This library is very early in development and has too many bugs to count. For your own safety, you should not use it in a production environment.

Usage

// Load a schematic from File.publicvoidmethod1() {Schematicschematic =Scaffolding.fromFile(newFile("schematics/my_schematic.schematic"));}publicvoidmethod2() {Schematicschematic =newSpongeSchematic();schematic.read(newFileInputStream(newFile("schematics/my_schematic.schematic")));}
// Place a schematic at a location.Instanceinstance =player.getInstance();Posposition =player.getPosition();schematic.build(instance,position).thenRun(() ->player.sendMessage("Schematic placed!"));
// Write a schematic (SOONtm)Regionregion =newRegion(newPos(0,0,0),newPos(10,10,10));Schematicschematic =newSpongeSchematic();schematic.write(newFileOutputStream("schematics/my_schematic.schematic"),region);

Build Tools

Repository

<repository>    <id>hypera-snapshots</id>    <url>https://repo.hypera.dev/snapshots/</url></repository>

Dependency

<dependency>    <groupId>dev.hypera</groupId>    <artifactId>Scaffolding</artifactId>    <version>0.1.1-SNAPSHOT</version></dependency>

[8]ページ先頭

©2009-2025 Movatter.jp