amberwat / negativespacefont Goto Github PK
View Code? Open in Web Editor NEWMinecraft resource pack with negative and positive size spaces
License: Creative Commons Attribution 4.0 International
Minecraft resource pack with negative and positive size spaces
License: Creative Commons Attribution 4.0 International
1.19 added a new provider type called "space", this can be used with a simple negative number.
An example can be seen here: https://github.com/HorizonsEndMC/ResourcePack/blob/6f32fa721f84cd00ec5485f18135aa6d3464e4a3/assets/horizonsend/font/special.json
How am i supposed to know how can I use this and how can I distribute it?
Hi, I have come across a problem regarding custom characters with odd height.
2 characters of even height(e.g. 10) are spaced out by exactly 1 space. They can be snug perfectly together using "space.-1":
Using the same logic 2 characters of odd height(e.g. 9) are spaced out by 1,5 space. after using "space.-1" there's still 0,5 space left:
(Ignore different vertical offset from the first image. Just different Ascent values)
In both scenarios the characters on the left are just entered after each other and on the right there's a "space.-1" between them
So basically I was wondering if there was a possibility to create something like "space.-0,5" to overcome this problem
as the header says, is it possible to use negative space on books?
I've done an attempt but it just shifts my image lower.
I was wondering maybe it was a mistake of use on my end.
I am currently having issues with this font on 1.19.4. Could you please double check if it still works?
Maybe this is an issue?
Out-of-bound arguments in translate formats are no longer silently ignored
Quote: https://www.minecraft.net/de-de/article/minecraft-java-edition-1-19-4
So, in the readme you say using "font": "spaces:default"
you can avoid a lookup table when having a score and wanting to have a dynamic width.
How exactly does that work though?
Let's say I have calculated I need a width of 134 spaces. So, I'd need to convert the 134 to 5568
(numbers in any order).
Is there an elegant formular for that? Or do you literally just do this in a loop until you get to 0?
execute if score foo bar matches 1..2 run scoreboard players add result bar 9
execute if score foo bar matches 1..2 run scoreboard players remove foo bar 1
execute if score foo bar matches 3..7 run scoreboard players add result bar 8
execute if score foo bar matches 3..7 run scoreboard players remove foo bar 3
execute if score foo bar matches 8..20 run scoreboard players add result bar 7
execute if score foo bar matches 8..20 run scoreboard players remove foo bar 8
execute if score foo bar matches 21..54 run scoreboard players add result bar 6
execute if score foo bar matches 21..54 run scoreboard players remove foo bar 21
execute if score foo bar matches 55..143 run scoreboard players add result bar 5
execute if score foo bar matches 55..143 run scoreboard players remove foo bar 55
execute if score foo bar matches 144..376 run scoreboard players add result bar 4
execute if score foo bar matches 144..376 run scoreboard players remove foo bar 144
execute if score foo bar matches 377..986 run scoreboard players add result bar 3
execute if score foo bar matches 377..986 run scoreboard players remove foo bar 377
execute if score foo bar matches 987..2583 run scoreboard players add result bar 2
execute if score foo bar matches 987..2583 run scoreboard players remove foo bar 987
execute if score foo bar matches 2584.. run scoreboard players add result bar add 1
execute if score foo bar matches 2584.. run scoreboard players remove foo bar add 2584
scoreboard players operation result bar *= 10 const
execute unless score foo bar matches 0 run function <this>
(and if it's negative start with -9 and add 6764 to foo bar)
Or is there a better way that I am not seeing?
Hey, I using your resource pack and found it not working. The negative space not shown up and it just write the rectangle. Pls help
Minecraft Optifine G1_pre30 Ultra 1.15.2
GPU: Intel Graphic
I don't know much about licenses so my question is can I use the texture pack for my own adventure maps even if I publish them?
(with credits of course)
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.