#Adding custom waypoints to locator bar?
12 messages · Page 1 of 1 (latest)
Yes, it's possible. There's no documentation - it's too new and niche for a volunteer to go through and document it all. You can look through the source though.
@wary flax
like read the source code you mean? do you think theres fabric mappings to it and its not documented or id just have to figure it out with mixins?
There's fabric mappings for it - it's very hard to find something unmapped unless it's a recent snapshot. It's not documented - most of mc isn't. Yes, you'd need mixins.
might be dumb question but where would i even begin? im just now learnign java and modding.
You'll need to be quite familiar with Java (or at least some object-oriented language) before you start modding. After that, you can start looking at the source for InGameHud and find what you need from there.
!!learnjava
To start modding Minecraft using Fabric, it's strongly recommended to know Java.
Minecraft, in its codebase, and mods, using Fabric API, use more advanced Java concepts like lambdas, generics and polymorphism.
If you don't know all of these concepts, you may have some difficulties modding.
Here are some online resources that will help learning Java
JetBrains Academy (free online course): https://www.jetbrains.com/academy/
Codecademy (free online course): https://www.codecademy.com/learn/learn-java
University of Helsinki (free online course): https://java-programming.mooc.fi/
Basic Java Tutorials: https://docs.oracle.com/javase/tutorial/
Introduction to Programming using Java by David J. Eck (free online textbook): http://math.hws.edu/javanotes/
After Learning Java
For most mods you will want to make, you will have to use the Spongepowered Mixin Java library.
To learn more about Mixin, you can use the faq/mixin bot tag by typing !!faq/mixin in #bot-posting .
!!tut reading_mc_code
thanks. im somewhat familar with object orienteed cause ive worked with c# in the past. hopefully i can figure it out