Jump to content

Creating a new similar Item vs Replacing an existing Vanilla Item


Recommended Posts

Posted (edited)

I am in the process of creating a fishing mod. While doing my research I have stumbled upon two things.

First a lot of fishing mods create their own fishing rod but end up copying all the vanilla code of the fishing rod anyway.

Second in some instances people made their own fishing rod to avoid using the loot table system which is rather complex to use.

I understand that I should be using the loot table system and already found a helpful implementation by Draco18.

Now my question is should I be making my own fishing rod and fishing hook or should I replace the vanilla one.

The only changes I wish to make is to add additional Loot Conditions for biome specific fishing loot and biome type specific fishing loot. (There is a mod that dose this but dose it using a hacky way of avoiding the loot tables.)

In the end I will be giving fish some additional properties like weight and some fun treasures to find. Which means I will be completely changing the fishing loot tables.

The reals reason I am asking this is, that people probably will only use either one of the fishing rods and it doesn't make sense to keep both active in a back.

 I fear that by altering the fishing loot tables and the fishing rod I could cause compatibility issues for other mods and modpack makers.

I am aware that loot table changes are possible on a per world bases without a mod already but I still think it's a valid mod idea.

 

I hope you can help my with my best practices question :)

Link to my repo for further reading on the idea that caused the question.

Edited by Thretcha
Posted (edited)

Yea I agree, If your goal is to have compatibility you should create a separate fishing rod. Although you could add a config option to remove the vanilla one if the player chooses so if a mod requires it it could be reenabled.

Edited by MDW01
Posted

Since editing item drops can be done through LootTables nowadays I would suggest that you add one or multiple new fishing rods that either provide benefits over the vanilla fishing rod or make fishing harder with the reward of getting rarer item drops. That's what modding is all about after all!

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.