r/MinecraftMod • u/Lady-Lilith289 • 21d ago
I’ve been thinking about making a mod. Does this seem like too much for a first timer?
I know it’s probably a bad idea to post my layout but I’m not even sure if it’s a good idea to begin with.
2
u/Dadamalda 21d ago
Adding entities or entity rendering is way too complicated for a first mod, but if you're fine with items inside slimes being invisible, you can just add to the loot table.
Crops probably aren't too hard, it's just blocks with states and random ticking. Not sure about making things grow faster tho.
Adding new villager professions is probably difficult.
1
u/Lady-Lilith289 21d ago
I don’t plan on making completely new mod something closer to retexture or putting the item inside or on the slime so it’s visible.
I didn’t think about just adding the items to the slimes loot table. I’ll look into that as it sounds much easier than my idea.
1
u/Dadamalda 21d ago
Remodeling entities also isn't easy with how vanilla mobs are set up. Retexturing without changing the shape is easy tho.
1
u/Lady-Lilith289 21d ago
If I changed the shape it wouldn’t be a slime anymore. Right now I’m gonna try just adding the item inside the slime, so players can see what item the slime will drop. Ex: A slime with a diamond inside will drop a diamond.
1
u/Dadamalda 21d ago
You need to either add items it can drop to the model or a specific item to the entity renderer. Both are difficult and not something you would do in a first mod.
1
u/Lady-Lilith289 21d ago
Alright I’ll just add the items to the slimes loot table. Bigger the slime more items you get.
1
u/Dadamalda 21d ago edited 21d ago
Looks like you need to make a loot modifier that adds a loot table
The loot modifier needs this condition:
{ "condition": "neoforge:loot_table_id", "loot_table_id": "minecraft:entities/slime" }You can check for the size with this condition:
"condition": { "type": "minecraft:entity_properties", "entity": "this", "predicate": { "minecraft:type_specific/cube_mob": { "size": 1 } } }This assumes you are making a mod for NeoForge 1.21.1 or higher.
4
u/No-Today-1533 21d ago
First timer’s definition can vary wildly. Brand new to programming as a whole, only to Java, only to making Mods…
In general, this seems easy enough. Maybe a good weekend if you’re learning Minecraft modding, or about a week if you’re learning Java too.
1
u/manultrimanula 21d ago
Seems like something so simple you can literally justify makimg it with mccreator lol.
1
u/Lady-Lilith289 21d ago
I don’t know I’ve heard MCreator can be really buggy. I’ll look into it though.
1
u/manultrimanula 21d ago
MCreator is bad for large mods, but for something this small it's 100% alright
2
u/dark_blockhead 21d ago
I suggest you try making a first mod that does something simple (adding entities is far from modding 101). If you manage, make a next plan (won't be easy but you will manage or you will not).
If you give up, well - you can accomplish all that with existing mods and a few loot tables.
Add "Villagers Sell Animals", "Mystical Agriculture", OpenLoader (to easily make datapack without the need to zip them), Item Obliterator, something to control mob spawning for example "Mob Settings"...
1
1
3
u/Jason13Official 21d ago
What app did you write this in? Never seen a notebook notepad lol