Display Entities
Overview
An example for custom blocks using Display ENtities
Description
Thsi is a demo from another user, here: https://github.com/dannegm/BlockEntities and their implimentation so go give them some love, i could not form it for some reason so i redid it in gradle and followed their structure :)
The master branch is for the latest version of minecraft.
Support
Building
Building BlockEntities is not as Straightforward as Iris, though you will need to setup a few things if your system has never been used for java development.
Build Steps
So this is fairly similar to Iris, but a bit modified.
IDE Builds (for development & Compilation)
You NEED TO BE USING Intelij To build this project, or anything that can support the plugin Manifold
discord, we give help regardless if you want to donate to us on spigot or compile it here :) we just want to be sure that you are able to use and enjoy the software regardless of circumstance.
Preface: if you need help compiling ask for support in the-
Install Java JDK 17
-
Set the JDK installation path to
JAVA_HOME
as an environment variable.- Windows
- Start > Type
env
and press Enter - Advanced > Environment Variables
- Under System Variables, click
New...
- Variable Name:
JAVA_HOME
- Variable Value:
C:\Program Files\Java\jdk-17.0.1
(verify this exists after installing java don't just copy the example text)
- Start > Type
- MacOS
- Run
/usr/libexec/java_home -V
and look for Java 17 - Run
sudo nano ~/.zshenv
- Add
export JAVA_HOME=$(/usr/libexec/java_home)
as a new line - Use
CTRL + X
, then PressY
, ThenENTER
- Quit & Reopen Terminal and verify with
echo $JAVA_HOME
. It should print a directory
- Run
- Windows
-
Setup Gradle
Gradle Setup
- Run
gradlew setup
any time you get dependency issues with craftbukkit - Configure ITJ Gradle to use JDK 17 (in settings, search for gradle)
- Resync the project & run your newly created task (under the development folder in gradle tasks!)
- INSTALL MANIFOLD
- If this is your first time building BlockEntities for MC 1.19+ run
gradlew setup
inside the root BlockEntities project folder. Otherwise, skip this step. Grab a coffee, this may take up to 5 minutes depending on your cpu & internet connection. - Once the project has setup, run
gradlew blockentities
- The BlockEntities jar will be placed in
BlockEntities/build/BlockEntities-XXX-XXX.jar
Enjoy! Consider supporting us by buying it on spigot!
Credits
Helping out in any way you can is appreciated, and you will be listed here for your contributions :)
Language
- NextdoorPsycho: English Translation
- Nowhere (Armin231): German Translation