Skip to content

config resource list

Robin Seifert edited this page Apr 16, 2024 · 2 revisions

Resource List Config

Parent of most content list configurations such as BlockState Config and ItemStack Config

Functionality

Works as a list of string entries containing key to value information. With some additional utility keywords to assist users.

Sorting @sort

Sorting by default is done by index of entries. This can be overridden by adding @sort(order,entry) function to the entry. With lowest value going to front of priority. Sorting is contained to same key for the entry. With key being the resource name of the content, ex: 'minecraft:stone'.

Can be combined with entries not using @sort. Any entry missing the keyboard will go to the end of the list. With order being max_sort + index.

Example: @sort(3, minecraft:stone=3)

All of mod @domain

An entire mod can be given a value by using @domain:mod_domain. Example : @domain:icbmclassic.

Clone this wiki locally