ldtteam / blockout Goto Github PK
View Code? Open in Web Editor NEWLibrary used to easily create minecraft ingame GUIs
License: GNU General Public License v3.0
Library used to easily create minecraft ingame GUIs
License: GNU General Public License v3.0
The textfield will support basic MineCraft 1.12 Written Book style edition (no cursor movement no selection). This is of course a dearly needed feature. To support this we need to make some change to the Client interception of UI input.
The current textfield tries to behave as the MineCraft textfield on the server side. Which ofcourse fails, since for example the FontRenderer is not available for size calculation.
The textfield to function properly.
This Control should render a 3D Image of the Entity in question, with full NBT and inventory Support.
I am working on a resource pack for minecolonies whereby the minecolonies textures would inherit from whatever texture pack the player has installed. This is not working, though, because the imageoffset and imagesize do not work.
Expected behavior:
imageoffset="0px 0px" (pixel-based)
imagesize="100px 20px" (pixel-based)
imageoffset="0 0" (pixel-based)
imagesize="100 20" (pixel-based)
imageoffset="0% 0%" (percent-based on image total width/height)
imagesize="19.53125% 3.90625%" (percent-based on image total width/height)
Example:
<buttonimage id="inventory"
align="BOTTOM_MIDDLE" size="86 17" pos="0 13"
source="minecraft:textures/gui/widgets.png"
imageoffset="0% 25.78125%"
imagesize="77.9296875% 7.6171875%"
label="$(container.inventory)" textcolor="black"/>
The ideal solution would be to use the % values so that the same xml would support any texture pack regardless of resolution.
The image, whether by offset/size or a full image should be resized/scaled to fit within the size specified by the container and not truncated.
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.