Expand description
What a content reference (@<kind>:<id>) can name, for the designers’
pickers — the same three sources yog build checks references against:
the mod’s own content (content/), the other mods’ ids it declares in
yog.toml ([external.<namespace>]) and the game’s (read from the
client jar on this machine, when there is one). And the mod’s own
.ydefs of a kind with what they say (an advancement’s parent, an
effect’s color), for the designers that draw several at once.
Structs§
- OwnDef
- One of the mod’s
.ydefs: its id, its file and what it says. - OwnRef
- One of the mod’s own: its id and the file that defines it.
- RefChoices
- What a reference of one kind may name, ids with their namespace.
Functions§
- block_
kinds - The game’s kinds of block (
kind: "stairs"on a.yblock): their names, texture slots, theblockfields they take and their defaults — asyog-formatshas them. - own_
defs - The mod’s
.ydefs ofkindbeside the file atfile. - refs
- The choices for
@<kind>:in the file atfile(kindmay also be a body format,ymodel/yanim, ortag:<kind>— the tags of a kind: the mod’s own.ydeftags of it, the game’s).