Comments (11)
Leave it to mojang to release major breaking changes in a minor release, lol
from optifine.
Json is definitely a very harsh transition but it does fit with vanilla resourcepacks formats pretty well.
Another approach to that issue is using what's being done in the language file format conventions, where the namespace and path are separated by a dot, for example
component.minecraft.custom_name=Example
# or, alternatively, since minecraft is the defaulted namespace, whenever a namespace is not present
component.custom_name=Example
from optifine.
having :
in a key value may not be good for property reading code
from optifine.
having
:
in a key value may not be good for property reading code
how would you work around that? split it into multiple properties?
namespace=minecraft
component.custom_name=Example
from optifine.
Use JSON? Not the easiest solution to move to, but would work...
from optifine.
Something else to be considered while making major/breaking changes is that components can be of any type and only then are serialized into nbt. There have been reports of item components slowing down the game(specifically talking about MC-270668). Might be the time to handle components directly instead of their nbt representation.
It'd be a shame to serialize a Text
object to nbt just to check it against the old cit matching.
from optifine.
note that the .properties
spec officially supports key escapes like the following:
component.minecraft\:custom_name=Example
also, we should probably be using components
instead of component
to fit with the NBT-ified data format.
from optifine.
any progress?
from optifine.
the first preview version of OptiFine for 1.20.6 just came out, so it may be a little while before this gets added
from optifine.
Some news? What solution is there to this right now to be able to continue using CIT in 1.20.6?
from optifine.
I have also noticed that when using component.custom_name=Example all the items related to it change texture, regardless of the name
from optifine.
Related Issues (20)
- Enable OptiFine to support the Cleanroom loader HOT 3
- [CIT Question/Feature request] Multiple conditions HOT 1
- [overlay CTM] give compatibility to water
- Optifine Is Outdated HOT 5
- Custom Model Data (Or other NBT) for CEM items HOT 2
- [Crash+Bug] Optifine crashes on AMD graphics
- Optifine crash 1.20.1 HOT 1
- Custom GUI textures issues. HOT 1
- [1.20.6] MultiMC/Prism supports
- [Quick Info] Render the “Quick Info” above potions in layers
- [1.20.6] World maps on item frames are not correctly rendered
- [Render Distance Bug] Render distance slider not updating distance properly or consistently
- Custom colors colormaps get randomized (optifine 1.20.6) HOT 13
- [1.20.6] Entity culling is broken with the minecraft:generic.scale attribute
- [1.20.6 - Quick Info] Gamerule "Reduceddebuginfo" and optifine's quick info
- [Category] Directional Audio Always On HOT 1
- [Cit] Offhand
- "Quick info..." Has a problem
- higher fps limit cap
- [Crash] Exit code 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optifine.