Skip to content

Resource Pack Information

Pug edited this page Mar 5, 2023 · 7 revisions

Resource Packs in Bovines and Buttercups

Resource packs are used in Bovines and Buttercups for textures. Textures are necessary for any flowers, mushrooms and cows.

They can also optionally be used for Nectar Bowls, although if not specified, they can be handled through the color field in a Moobloom Configured Cow Type.

The bovinesandbuttercups directory for resource packs

The bovinesandbuttercups directory is used within resource packs to load models for custom blocks and their blockstates, as well as for loading generic models and item models (marked by the "inventory" field) in the case of non generic types.

Bovinestate Schema

Field Type Default Description
type Resource Location Defines what the fields of this bovinestate are, also defines where the models will display.
linked_block_type Resource Location optional Defines which Flower Type or Mushroom Type a "custom" block must have in order to display this texture.
variants Variants optional Defines each individual block model based on the block states of the block. This works the exact same as how it does with the block state json schema. More information about block state files in terms of models can be found here. This field can be ignored if your type is either bovinesandbuttercups:generic or bovinesandbuttercups:item.
multipart Array of Multivariants optional Defines each individual block model through the multipart system. This works the exact same as how it does with the block state json schema. More information about block state files in terms of models can be found here. This field can be ignored if your type is either bovinesandbuttercups:generic or bovinesandbuttercups:item.
inventory Resource Location optional Defines an item model to be used with this custom type. In the case of the bovinesandbuttercups:item type, this defines a model location with the resource location of this bovinestate's location.

Example

{
  "type": "bovinesandbuttercups:mushroom",
  "linked_block_type": "test:blue_truffle",
  "variants": {
    "": {
      "model": "test:block/truffle/blue_truffle"
    }
  },
  "inventory": "test:truffle/blue_truffle"
}

Bovinestate Types

Clone this wiki locally