Skip to content

Custom Model Data

Nibrock edited this page Sep 3, 2022 · 14 revisions

Custom Model Data

Blep Fishing works flawlessly without the use of Custom Model Data, but it is recommended to use it to enhance the experience, as all the custom fish will look like the default Minecraft Salmon without.

Note: You can change what item "Fish" will be in items.yml

What is Custom Model Data?

Custom Model Data, or CMD as this page will refer to it, is a numeric NBT Tag in the JSON item models in Minecraft, which can be used to create multiple variations of the same item in one resource pack. Blep Fishing utilizes this functionality to display custom textures for the fish added in this plugin, as well as support for adding your own custom fish. In order for all your players to view the custom textures, they will either need to all have the same resource pack client-side, or have a server-wide resource pack set up (recommended).

Resource Pack

Header-PMC Resource Pack Link

There is already a premade resource pack that goes hand-in-hand with the default config of the plugin. You can find it here on Planet Minecraft, or by clicking the image above. This resource pack was put together with amazing art from one of our community members, Tommy.

Using the default Blep Fishing config, as well as having all the players download and use the above Resource Pack will allow everyone to view the plugin and its default fish as intended, though if you plan on adding new fish, or just want your players to be able to join the server and have all the textures, it is recommended to set up a server-wide resource pack.

Server-Wide Resource Pack

Setting up a server-wide resource pack is fairly straightforward. If you'd like an in-depth tutorial about how to set up one for your server, check out this tutorial by ShockByte!

Note: Minecraft has a limitation of one resource pack per server, meaning if you've already created a custom resource pack for your server, or have a plugin that provides one, you will need to merge the two.

ItemsAdder/Oraxen Compatibility

BlepFishings custom resource back can easily be added to ItemsAdder or Oraxen. As long as the Custom Model Data ID matches in the configs of ItemsAdder/Oraxen and the BlepFishing config, it should work flawlessly.

Additionally, here's a pre-made ItemsAdder Blep Fishing Addon.