#the tutorial's not tutorial-ing (problems with setting up items)

11 messages · Page 1 of 1 (latest)

upper echo
#

see title. i'm a beginner beginner to mod making; as in, i've only made datapacks before and have never done anything else in terms of minecraft modding shenaniganry.

i'm wanting to make a gambling type mod, and i think i have an idea as to how i'm going to do it. the issue is that my IDE is throwing errors from me... copying and pasting the code that's in the tutorial. i'm not sure if it's an issue with how i have my folder structure set up, or if it's something the tutorial is missing, or if i'm just not getting something.

floral prawn
#

do you know java?

upper echo
#

not particularly? i mostly work with C# whenever i do programming

stone zealot
#

Even in C# you need to utilize using ... to add classes you dont have nearby

#

!!learnjava

floral rainBOT
#

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 .

sharp bolt
#
  1. where imports
  2. FabricDocsReference issue again... sigh, the docs really do have a clarity issue
stone zealot
#

Honestly I think it's a good barrier to have in the docs, you are not supposed to copy and paste directly and you should know at least a bit of java to not do this issue

upper echo
stone zealot
#

Everyone starts somewhere, you're good

floral prawn
#

i have some days off before Christmas, i'll try to update it Pain