mworzala / mc_debug_renderer Goto Github PK
View Code? Open in Web Editor NEWEnables servers to render debug shapes on the client.
License: MIT License
Enables servers to render debug shapes on the client.
License: MIT License
Maven:
<dependency>
<groupId>com.github.mworzala.mc_debug_renderer</groupId>
<artifactId>minestom</artifactId>
<version>1.19.2-rv1</version>
</dependency>
Client Mod used:
1.19.2-rv1
Issue:
I noticed that the #thickness
attribute from the Shape#line
(Line.Builder
) builder does not affect the thickness of the line.
It is always the same, even for very large or very small values.
(Line thickness with a value of 100)
(Line thickness with a value of 0.1f)
The images aren't very helpful since I cannot ensure that I take the image from the same location every time. But there is not a factor of 1000 between the thickness of the lines.
Two issues have come up when using the 1.19.2 version of the mc_debug_renderer.
Maven:
<dependency>
<groupId>com.github.mworzala.mc_debug_renderer</groupId>
<artifactId>minestom</artifactId>
<version>1.19.2-rv1</version>
</dependency>
Client Mod used:
1.19.2-rv1
Issues:
Text color not used
When using the OutlineBox.Builder
to construct a Shape
the #colorText
method does not change the color of the rendered text.
Text not rendered on faces
The text is rendered correctly, but only if the face of the box is facing a positive cardinal direction; ie.: +x, +y, +z
If the face is facing a negative cardinal direction, ie.: -x, -y, -z, the text is rendered on the edge of the chunk instead
(Image shows the missing text on the face facing the -z cardinal direction)
I would like to see a more universal version of the library for debugging universal plugins
I'd love it if the client-side part of this mod could be uploaded to Modrinth. It's nice to have all mods in one place, and when using Prism Launcher's auto-updater it's a little annoying having to dismiss the warning that it couldn't find Debug Renderer.
To make publishing easier, they have a Gradle plugin called Minotuar that allows you to publish releases and update the project page with simple Gradle tasks.
You could also use something like mc-publish to automatically publish releases that are uploaded to GitHub.
Some way for the server to register keyboard actions for the client. The two action types I see are:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.