CTResourceLocation
A resource location object is used for telling minecraft where to find something. It consists of a domain and a path.
Calling/Importing the package
If you don’t want to type out the package’s whole name every time you use a static method or if you are encountering any issues with the class in general it might be required for you to import the class:
import mods.contenttweaker.ResourceLocation
ZenMethods
Static methods: Create
Static methods are those that are called on the package itself, not on any specific object of this instance.
You can use this method to create a new CTResourceLocation instance:
ZenGetters
ZenGetters are called on an object, not on the package itself
ZenGetter | Type |
---|---|
ZenGetter domain | Type string |
ZenGetter path | Type string |