Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

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

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.