Coder Social home page Coder Social logo

nichtstudiocode / miniatureblocks Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 3.0 2.52 MB

A spigot plugin which allows in-game creation of custom models

License: GNU General Public License v3.0

Kotlin 100.00%
minecraft spigot plugin spigot-plugin model modeling

miniatureblocks's Introduction

Banner

MiniatureBlocks

A spigot plugin which allows in-game creation of custom models

How to use

1. Create a selection

Just like in WorldEdit, you’ll need to mark two positions as the start and the end point. You can do that by either left- /right-clicking with the marker which you can receive via /miniature selection marker or by using the command /miniature selection <pos1/pos2>

2. Create a miniature

To create a miniature just type /miniature create <name>. The resource pack will automatically get generated and you will have to accept the custom resource pack request. If you need to create many miniatures without having to download the resource pack every time, you can also use /miniature create <name> silent. In order to properly see the miniature later you will have to rejoin.

3. Place the miniature

Use /miniatures or /ms to open an inventory with all available miniatures. After placing it, you can also rotate the miniature in 30° steps by right-clicking. For more precise control over the rotation, use /miniature rotation <degrees> and /miniature norotate <on/off> to prevent rotation by right-clicking.

Animated miniatures

To create an animated miniature open the animation menu using /miniature animation. Then, add the miniatures you want to use as "frames" in the animation; change the tick delay between the animation frames if you want to and create the animation using the "Create Animation" button. If you want to edit an existing animation, just hold the animated item in your hand and run the command as usual.

Texture overriding

You are also able to change the individual textures displayed in the miniatures. /miniature textures opens a GUI where you can individually change the textures for each side of every block type. To upload your own textures use /miniature textures add <name> <url> / /miniature textures addanimated <name> <frametime> <url> and /miniature textures remove <name> to delete it.

Auto-rotation

If you want your miniature to automatically rotate all the time, you can use the command /miniature autorotate <degrees per tick> to do that. (20 ticks are 1 second)

Add a command

You can add a command to the miniature which will be executed when a player right or shift-right clicks it. Use /miniature command set <right/shift-right> <command> to set it and /miniature command remove <right/shift-right> to remove it.

miniatureblocks's People

Contributors

bytez1337 avatar nichtstudiocode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.