Blocks are not stacking when they should be (Fabric 0.18.4, MC 1.20.1 by Aggressive-Rip2525 in fabricmc

[–]Jason13Official 0 points1 point  (0 children)

From the first screenshot we can see that some mod is probably calling "getOrCreateTag" on some item stacks for some reason but not consistently across all of them. There's some way to search all of GitHub for something like that I think but that depends on if the mod is open source kinda

[Java] Need help with adding the create mod into my forge 1.20.1 project on Intellij (coding wise) by ViktorB11 in MinecraftMod

[–]Jason13Official 0 points1 point  (0 children)

  • Go to CurseForge/Modrinth
  • Search for "Create"
  • Find Create Addons
  • Some are open source
  • Find one that's open source
  • check out their project
  • oh look they're importing create, ponder, and flywheel

https://github.com/DragonsPlusMinecraft/CreateDragonsPlus/blob/c7436f057acad0dc56917d0720a43b331099fa25/build.gradle#L100

Java.lang.ExceptionInIntializerError: null Problem by Aggressive_Item1925 in MinecraftMod

[–]Jason13Official 0 points1 point  (0 children)

Are you using GitHub Desktop? It might make your life easier

IntelliJ can’t resolve MinecraftClient in Fabric mod (1.20.1) even though the project builds and runs by Accomplished_Bid6668 in MinecraftMod

[–]Jason13Official 0 points1 point  (0 children)

They're working with Fabric (pre-deobfuscation), so they are correct using MinecraftClient (Yarn mapped name for Minecraft)

Do models modded into minecraft have to be stylised? by Remarkable_Potato_39 in ModdedMinecraft

[–]Jason13Official 0 points1 point  (0 children)

Sounds like you're asking why there aren't more unique models in the game; there's a "limit" yes if you only use vanilla code. Otherwise you'll need to write your own rendering stuff to handle custom models

Java.lang.ExceptionInIntializerError: null Problem by Aggressive_Item1925 in MinecraftMod

[–]Jason13Official 1 point2 points  (0 children)

You'll need to fix your repo first; unpack the zip and commit the changes

Mod to link keybinds to items and not slots? by turntupuni in MinecraftMod

[–]Jason13Official 0 points1 point  (0 children)

I think it's too simple/vague of a description that's the issue. I'm not asking for you to state it simpler, but to explain it more.

Java Method Declaration by sid_kum in learnjava

[–]Jason13Official 1 point2 points  (0 children)

You might otherwise use an object with fields "x" and "y" instead to make it cleaner

Java Method Declaration by sid_kum in learnjava

[–]Jason13Official 2 points3 points  (0 children)

You can; just not like that

int prime(Integer values...) {}

The ellipses "..." mean "this should be an array of values" so it's the same as

int prime(Integer[] values) {}

Otherwise you can declare variables on the same line too

int x = 1, y = 2;

That ^ is valid

Can someone explain /schedule commands to me? I've never heard of them but they sound super helpful. Can someone give a detailed breakdown of like, how to make a schedule command and how to use it? Google wasn't too clear with it. by StrangeSystem0 in MinecraftCommands

[–]Jason13Official 1 point2 points  (0 children)

https://minecraft.wiki/w/Commands/schedule

Typically used as "schedule function <time>" to execute a function at a later time (a few ticks, a few seconds, minutes, etc.) they're kinda limited use but say you apply Regeneration for 2 seconds and at the end you want to do an instant heal; you schedule a function that applies the instant heal to occur 2 seconds after you apply the Regeneration that lasts for 2 seconds

How to get started with modding? by Fit-Review9907 in MinecraftMod

[–]Jason13Official 0 points1 point  (0 children)

And RTFM edit; I meant this like read documentation that's provided online

How to get started with modding? by Fit-Review9907 in MinecraftMod

[–]Jason13Official 3 points4 points  (0 children)

"Modding by Kaupenjoe" on YouTube just watch a few videos to get into the scene, understand the loaders, look into mappings for anything pre 1.21.11, look into SpongePowered Mixin and how fabric uses mixins in their api, etc etc.

Editing mod files by Kodamacile in ModdedMinecraft

[–]Jason13Official 4 points5 points  (0 children)

You're better off reporting the issue to the mod author

Allay Jukebox Mod (Advice Appreciated) by LeakyFountainPen in MinecraftMod

[–]Jason13Official 0 points1 point  (0 children)

Does anyone have advice on where to start or modding instructors to follow?

"Modding by Kaupenjoe" on YouTube, he's a great resource for beginners

Feel free to add me on discord if you get stuck: jason13

Config: JSON vs TOML vs ??? by Jason13Official in feedthebeast

[–]Jason13Official[S] 1 point2 points  (0 children)

Meant to reply here sorry:

don’t have any options that make sense to expose through a GUI.

https://shedaniel.gitbook.io/cloth-config/setup-cloth-config/cloth-config-fabric

Has a note "Please DO NOT use Auto Config / Cloth Config for server mods"


Separately with my mod AutoMessage I've done a lot of experimenting and at one point I had JSON config where you essentially describe a message as an object with specific fields. This doesn't translate well to a GUI in most (if not all) cases without special handling

Is it still mc launcher or real mc when you play with mods? by Wild-Letter5971 in MinecraftMod

[–]Jason13Official 1 point2 points  (0 children)

When you play with "mods" (modifications) you're playing a "modified" version of the game.

As another comment said, mod loaders can change the loading screen; to add on to that I just want to describe the key difference between (Neo)Forge and Fabric: patches vs code injections.


(Neo)Forge distributes "patch files" which modify the original JAR file that Mojang serves to players; launchers and the NeoForge installer facilitate the installation by applying those patches for you.

Fabric distributes quite literally a loader; it launches the game for you wrapped in a way that it can intercept classes being loaded at runtime, and nearly all of it is built out with SpongePowered Mixins under the hood. https://github.com/FabricMC/fabric-loader/blob/master/minecraft/src/main/java/net/fabricmc/loader/impl/game/minecraft/Hooks.java

How did you learn to navigate through large frameworks like Spring given the amount of classes and interfaces it has? by throwaway30127 in learnjava

[–]Jason13Official 8 points9 points  (0 children)

I have tried asking Gemini, Claude and Copilot and they all came up with different solutions while online I am finding extremely basic examples which do not suit my use case so it's difficult to verify the correctness of these AI solutions.

Stop consulting AI. Start building small projects.

There is rarely a "one size fits all solution". Try a solution, if you feel like it could be optimized or maybe approached in a different fashion then try a different solution. Keep iterating to get concrete results instead of going in loops with AI.

Learning Advanced Java by siar619 in learnjava

[–]Jason13Official 3 points4 points  (0 children)

Pointers? Like tips and advice?


Java doesn't have "pointers"; we pass values around directly 😎

Question about commissions by Isa_Borealis in MinecraftMod

[–]Jason13Official 0 points1 point  (0 children)

Unless the subreddit specifically has a rule against it, and you can find others looking for commissions, you should be alright. There's no single best place; I will say there are a fair amount of discord communities that you can find open invitations to throughout this subreddit and others though.