1names! {
4
5 res_kind {
7 STRING = crate::word::STRING,
8 IMAGE = crate::typed::IMAGE,
9 FILE = crate::word::FILE,
10 SOUND = crate::word::SOUND,
11 COLOR = crate::word::COLOR,
12 NUMBER = crate::word::NUMBER,
13 BOOL = crate::word::BOOL,
14 VIDEO = crate::word::VIDEO,
15 }
16
17 image_scheme {
19 ITEM = crate::kind::ITEM,
20 BLOCK = crate::kind::BLOCK,
21 SPRITE = crate::word::SPRITE,
22 MOD = crate::word::MOD,
23 VIDEO = crate::kind::VIDEO,
24 }
25
26 file {
28 MANIFEST = crate::concatcp!(crate::ns::YOG, crate::sep::DOT, "toml"),
30 LOCK = crate::concatcp!(crate::ns::YOG, crate::sep::DOT, "lock"),
32 }
33
34 archive {
36 MANIFEST = crate::concatcp!(crate::word::MOD, crate::sep::DOT, crate::Format::Data.ext()),
38 NATIVES = "natives",
40 SCRIPTS = "scripts",
44 }
45
46 yimage {
50 MAGIC = "YIMG",
51 }
52
53 symbols {
57 DIR = "symbols",
58 EXT = "debug",
60 }
61
62 pack {
64 DATA = crate::word::DATA,
66 ASSETS = "assets",
68 TAGS = "tags",
70 WORLDGEN = "worldgen",
72 OVERLAYS = crate::word::WHEN,
74 ANY_LOADER = crate::word::ANY,
76 ANY_VERSION = crate::word::ANY,
78 }
79
80 project {
82 RESOURCES = "resources",
84 CONTENT = crate::word::CONTENT,
86 FONT_COPIES = crate::kind::FONT,
88 SRC = crate::word::SRC,
90 OBJ = "obj",
93 TARGET = crate::concatcp!(crate::project::OBJ, crate::sep::PATH, crate::word::TARGET),
95 GENERATED = crate::concatcp!(crate::project::OBJ, crate::sep::PATH, "generated"),
97 BIN = "bin",
100 }
101
102 game_version {
107 V1_19_2 = "1.19.2",
108 V1_20_1 = "1.20.1",
109 V1_21_1 = "1.21.1",
110 V26_2 = "26.2",
111 }
112
113 game_dir {
115 MODS = crate::concatcp!(crate::ns::YOG, crate::sep::HYPHEN, crate::word::MODS),
117 }
118
119
120 program {
122 CLI = crate::ns::YOG,
124 SERVE = "serve",
126 SCRIPT = "yog-script",
130 }
131
132 code_set {
136 BLOCKS = "Blocks",
137 ITEMS = "Items",
138 ENTITIES = "Entities",
139 ADVANCEMENTS = "Advancements",
140 MODELS = "Models",
141 ANIMS = "Anims",
142 TEXTURES = "Textures",
143 }
144
145 rust_crate {
148 PREFIX = crate::concatcp!(crate::ns::YOG, crate::sep::HYPHEN),
150 API_WORD = "api",
153 API = crate::concatcp!(PREFIX, API_WORD),
154 API_RUST_NAME = crate::concatcp!(crate::ns::YOG, crate::sep::WORD, API_WORD),
155 API_VERSION_KEY = crate::concatcp!(API_RUST_NAME, crate::sep::WORD, crate::serve_method::VERSION),
156 API_TO_SERVER = "to-server",
160 ABI = crate::concatcp!(PREFIX, "abi"),
161 UI = crate::concatcp!(PREFIX, crate::word::UI),
162 KIT = crate::concatcp!(PREFIX, "kit"),
163 GFX = crate::concatcp!(PREFIX, "gfx"),
164 REGISTRY = crate::concatcp!(PREFIX, crate::serve_param::REGISTRY),
165 DATA = crate::concatcp!(PREFIX, crate::word::DATA),
167 DATA_RUST_NAME = crate::concatcp!(crate::ns::YOG, crate::sep::WORD, crate::word::DATA),
168 }
169
170 res {
172 TEXTURES = crate::concatcp!(crate::model::TEXTURES, crate::sep::PATH),
174 MODELS = crate::concatcp!(crate::word::MODELS, crate::sep::PATH),
176 BLOCKSTATES = crate::concatcp!("blockstates", crate::sep::PATH),
178 ITEM_DIR = crate::concatcp!(crate::kind::ITEM, crate::sep::PATH),
180 ITEM_DEFINITIONS = crate::concatcp!(crate::word::ITEMS, crate::sep::PATH),
182 EQUIPMENT = crate::concatcp!(crate::word::EQUIPMENT, crate::sep::PATH),
184 EQUIPMENT_TEXTURES = crate::concatcp!(crate::kind::ENTITY, crate::sep::PATH, crate::word::EQUIPMENT, crate::sep::PATH),
186 ARMOR_TEXTURES = crate::concatcp!(crate::word::MODELS, crate::sep::PATH, crate::word::ARMOR, crate::sep::PATH),
188 ARMOR_LAYER = "_layer_",
190 SPAWN_EGG_SUFFIX = crate::concatcp!(crate::sep::WORD, crate::word::SPAWN_EGG),
192 BLOCK_DIR = crate::concatcp!(crate::kind::BLOCK, crate::sep::PATH),
194 GUI_SPRITES = crate::concatcp!(crate::word::GUI, crate::sep::PATH, "sprites", crate::sep::PATH),
196 ATLASES = crate::concatcp!("atlases", crate::sep::PATH),
198 LANG = crate::concatcp!(crate::typed::LANG, crate::sep::PATH),
200 BUILTIN = crate::concatcp!("builtin", crate::sep::PATH),
202 SOUNDS = crate::concatcp!(SOUNDS_WORD, crate::sep::PATH),
204 SOUNDS_JSON = crate::concatcp!(SOUNDS_WORD, JSON),
205 SOUNDS_WORD = "sounds",
206 PARTICLES = crate::concatcp!("particles", crate::sep::PATH),
208 OGG = ".ogg",
209 PNG = crate::concatcp!(crate::sep::DOT, crate::word::PNG),
210 SVG = ".svg",
211 JSON = ".json",
212 MCMETA = ".mcmeta",
213 }
214
215 yog {
217 STATE = crate::id!(crate::ns::YOG, crate::word::STATE),
219 HANGING = crate::id!(crate::ns::YOG, "hanging"),
221 ENTITY_NBT = crate::id!(crate::ns::YOG, crate::word::DATA),
223 SYNCED = crate::id!(crate::ns::YOG, "synced"),
226 ENTITY_DATA = crate::id!(crate::ns::YOG, crate::concatcp!(crate::kind::ENTITY, crate::sep::WORD, crate::word::DATA)),
228 DIMENSIONS = crate::id!(crate::ns::YOG, "dimensions"),
231 SLOT_PREFIX = crate::id!(crate::ns::YOG, "slot:"),
233 PLAYER_INVENTORY = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::PLAYER, crate::sep::WORD, crate::kind::INVENTORY)),
235 MACHINE_PREFIX = crate::id!(crate::ns::YOG, "machine:"),
237 POTION_ALIAS = crate::id!(crate::ns::YOG, "potion/"),
239 FONT_ALIAS = crate::id!(crate::ns::YOG, "font/"),
242 DEFAULT_FONT = crate::concatcp!(FONT_ALIAS, crate::game_font::DEFAULT),
244 SPAWN_EGG_MODEL = crate::id!(crate::ns::YOG, crate::concatcp!(crate::res::ITEM_DIR, crate::word::SPAWN_EGG)),
246 BOOK_SHEET = crate::concatcp!(BOOK_TEXTURE, crate::sep::PATH, crate::kind::BOOK),
248 CRAFTING_SHEET = crate::concatcp!(BOOK_TEXTURE, crate::sep::PATH, "crafting"),
249 DESIGNER_SCREEN = crate::id!(crate::ns::YOG, "designer"),
251 CUTSCENE_SCREEN = crate::id!(crate::ns::YOG, crate::word::CUTSCENE),
253 BOOK_TEXTURE = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::GUI, crate::sep::PATH, crate::kind::BOOK)),
255 DYNAMIC_SVG_PREFIX = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::DYNAMIC, crate::sep::PATH, "svg", crate::sep::WORD)),
257 DYNAMIC_VIDEO_PREFIX = crate::id!(crate::ns::YOG, crate::concatcp!(crate::res::TEXTURES, crate::word::DYNAMIC, crate::sep::PATH, crate::word::VIDEO, crate::sep::WORD)),
260 DYNAMIC_TEXT_PREFIX = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::DYNAMIC, crate::sep::PATH, crate::word::TEXT, crate::sep::WORD)),
262 }
263
264 game_font {
267 DEFAULT = crate::word::DEFAULT,
268 UNIFORM = "uniform",
270 ALT = "alt",
272 ILLAGERALT = "illageralt",
273 }
274
275 attribute {
278 MAX_HEALTH = "max_health",
279 }
280
281 gamemode {
283 SURVIVAL = "survival",
284 CREATIVE = "creative",
285 ADVENTURE = "adventure",
286 SPECTATOR = "spectator",
287 }
288
289 game {
291 DEFAULT_FONT = crate::id!(crate::ns::MINECRAFT, crate::game_font::DEFAULT),
294 VANILLA_THEME = crate::id!(crate::ns::MINECRAFT, "vanilla"),
296 OVERWORLD = crate::id!(crate::ns::MINECRAFT, "overworld"),
297 AIR = crate::id!(crate::ns::MINECRAFT, crate::word::AIR),
299 PLAYER = crate::id!(crate::ns::MINECRAFT, crate::word::PLAYER),
301 NO_SOUND = crate::id!(crate::ns::MINECRAFT, "intentionally_empty"),
303 PLAINS = crate::id!(crate::ns::MINECRAFT, "plains"),
305 THE_NETHER = crate::id!(crate::ns::MINECRAFT, "the_nether"),
306 THE_END = crate::id!(crate::ns::MINECRAFT, "the_end"),
307 MINEABLE = crate::id!(crate::ns::MINECRAFT, "mineable/"),
309 MISSING_TEXTURE = crate::id!(crate::ns::MINECRAFT, "missingno"),
311 WRITTEN_BOOK = crate::id!(crate::ns::MINECRAFT, "written_book"),
313 BOOK = crate::id!(crate::ns::MINECRAFT, crate::kind::BOOK),
314 OLD_ATTRIBUTE_PREFIX = crate::concatcp!(crate::word::GENERIC, crate::sep::DOT),
316 LOCALE = "en_us",
318 }
319
320
321 shape_kind {
324 ANY = crate::word::ANY,
325 BOOL = crate::word::BOOL,
326 INT = crate::word::INT,
327 FLOAT = crate::word::FLOAT,
328 STRING = crate::word::STRING,
329 ATOM = "atom",
330 TEXT = crate::word::TEXT,
331 IMAGE = crate::word::IMAGE,
332 COLOR = crate::word::COLOR,
333 BYTES = crate::word::BYTES,
334 RES = "res",
335 REF = "ref",
336 TAG = crate::kind::TAG,
337 REF_OR_TAG = "ref_or_tag",
338 REF_OR_IMAGE = "ref_or_image",
339 LIST = "list",
340 MAP = "map",
341 OPTIONAL = crate::word::OPTIONAL,
342 STRUCT = "struct",
343 ENUM = "enum",
344 DEF = "def",
346 }
347
348 yui {
350 SCREEN = "Screen",
351 COMPONENT = "Component",
352 PROPERTY = "Property",
354 EVENT = "Event",
355 STYLE = "Style",
356 CANVAS = "Canvas",
357 COLUMN = "Column",
358 ROW = "Row",
359 GRID = "Grid",
360 ROW_DEFINITION = "RowDefinition",
363 COLUMN_DEFINITION = "ColumnDefinition",
364 ROW_DEFINITIONS = crate::concatcp!(GRID, crate::sep::DOT, ROW_DEFINITION, crate::data_layout::PLURAL),
365 COLUMN_DEFINITIONS = crate::concatcp!(GRID, crate::sep::DOT, COLUMN_DEFINITION, crate::data_layout::PLURAL),
366 SCROLL_VIEW = "ScrollView",
367 LABEL = "Label",
368 BUTTON = "Button",
369 TOGGLE_BUTTON = "ToggleButton",
370 TEXT_BOX = "TextBox",
371 IMAGE = "Image",
372 VIDEO = "Video",
373 SURFACE = "Surface",
374 SPACER = "Spacer",
375 STAT_BAR = "StatBar",
376 LIST_VIEW = "ListView",
377 ITEMS_CONTROL = "ItemsControl",
378 CONTENT_PRESENTER = "ContentPresenter",
379 ITEM_SLOT = "ItemSlot",
381 INV_SLOT = "InvSlot",
382 SLOT = "Slot",
383 PLAYER_INVENTORY = "PlayerInventory",
384 MACHINE = "Machine",
386 RECIPE_AREA = "RecipeArea",
388 RECIPE_SLOT = "RecipeSlot",
390 RECIPE_RESULT = "RecipeResult",
391 RECIPE_COUNT = "RecipeCount",
392 BLOCK_SLOT = "BlockSlot",
394 BOOK_HEADER = "BookHeader",
396 BOOK_TEXT = "BookText",
397 BOOK_ITEM = "BookItem",
398 DRAWN = "Drawn",
400 }
401
402 tag_file {
404 VALUES = crate::word::VALUES,
405 OPTIONAL = crate::word::OPTIONAL,
407 REPLACE = "replace",
408 ID = crate::word::ID,
410 REQUIRED = "required",
411 }
412
413 atlas_source {
417 SOURCES = "sources",
418 TYPE = crate::word::TYPE,
419 SINGLE = "single",
420 UNSTITCH = "unstitch",
421 RESOURCE = "resource",
422 SPRITE = crate::word::SPRITE,
423 DIVISOR_X = "divisor_x",
424 DIVISOR_Y = "divisor_y",
425 REGIONS = "regions",
426 X = crate::word::X,
427 Y = crate::word::Y,
428 WIDTH = crate::word::WIDTH,
429 HEIGHT = crate::word::HEIGHT,
430 BLOCKS = crate::word::BLOCKS,
432 ITEMS = crate::word::ITEMS,
433 }
434
435 texture_slot {
438 ALL = "all",
439 SIDE = "side",
440 TOP = crate::word::TOP,
441 BOTTOM = crate::word::BOTTOM,
442 END = crate::word::END,
443 FRONT = "front",
444 TEXTURE = crate::word::TEXTURE,
446 }
447
448 block_state {
450 FACING = "facing",
452 FACE = "face",
454 FLOOR = "floor",
455 WALL = crate::word::WALL,
456 CEILING = "ceiling",
457 WATERLOGGED = "waterlogged",
459 FALSE = crate::word::FALSE,
461 TRUE = crate::word::TRUE,
462 }
463
464 loot {
466 TYPE = crate::word::TYPE,
467 POOLS = "pools",
468 ROLLS = "rolls",
469 ENTRIES = crate::word::ENTRIES,
470 NAME = crate::word::NAME,
471 CONDITIONS = "conditions",
472 CONDITION = "condition",
473 FUNCTIONS = "functions",
474 FUNCTION = crate::word::FUNCTION,
475 COUNT = crate::word::COUNT,
476 MIN = "min",
477 MAX = "max",
478 BLOCK = crate::word::BLOCK,
479 PROPERTIES = "properties",
480 BLOCK_TABLE = crate::id!(crate::ns::MINECRAFT, crate::word::BLOCK),
482 GENERIC_TABLE = crate::id!(crate::ns::MINECRAFT, crate::word::GENERIC),
483 ITEM_ENTRY = crate::id!(crate::ns::MINECRAFT, crate::word::ITEM),
485 UNIFORM = crate::id!(crate::ns::MINECRAFT, crate::game_font::UNIFORM),
487 SET_COUNT = crate::id!(crate::ns::MINECRAFT, "set_count"),
488 EXPLOSION_DECAY = crate::id!(crate::ns::MINECRAFT, "explosion_decay"),
489 SURVIVES_EXPLOSION = crate::id!(crate::ns::MINECRAFT, "survives_explosion"),
490 BLOCK_STATE_PROPERTY = crate::id!(crate::ns::MINECRAFT, "block_state_property"),
491 BLOCKS = crate::concatcp!(crate::word::BLOCKS, crate::sep::PATH),
493 }
494
495 dimension_field {
498 ID = crate::word::ID,
499 DIMENSION_TYPE = crate::concatcp!(crate::kind::DIMENSION, crate::sep::WORD, crate::word::TYPE),
500 BIOME = crate::kind::BIOME,
501 STRUCTURES = "structures",
502 FEATURES = "features",
503 MOB_SPAWNING = "mob_spawning",
504 GENERATOR_TYPE = "generator_type",
506 TERRAIN = "terrain",
508 }
509
510 yui_value {
512 TRUE = crate::word::TRUE,
513 FALSE = crate::word::FALSE,
514 AUTO = crate::word::AUTO,
516 START = crate::word::START,
517 CENTER = crate::word::CENTER,
518 END = crate::word::END,
519 LEFT = crate::word::LEFT,
520 RIGHT = crate::word::RIGHT,
521 TOP = crate::word::TOP,
522 BOTTOM = crate::word::BOTTOM,
523 FILL = crate::word::FILL,
525 STRETCH = crate::word::STRETCH,
526 OUTLINE = crate::word::OUTLINE,
527 NONE = crate::word::NONE,
528 }
529
530 yui_markup {
533 BIND_OPEN = "{x:Bind ",
534 BIND_CLOSE = "}",
535 BIND = "{x:Bind",
537 BINDING = "{Binding",
538 DESIGN = "d:",
540 RESOURCES = crate::concatcp!(crate::sep::DOT, "Resources"),
542 }
543
544
545 tool_kind {
548 PICKAXE = "pickaxe",
549 AXE = "axe",
550 SHOVEL = "shovel",
551 HOE = "hoe",
552 SWORD = "sword",
554 }
555
556 model {
558 PARENT = "parent",
559 TEXTURES = "textures",
560 ELEMENTS = "elements",
561 DISPLAY = crate::word::DISPLAY,
562 FACES = "faces",
563 FROM = "from",
564 TO = "to",
565 UV = crate::word::UV,
566 ROTATION = "rotation",
567 TEXTURE = crate::word::TEXTURE,
568 LAYER0 = "layer0",
570 PARTICLE = crate::word::PARTICLE,
572 MODEL = crate::word::MODEL,
574 ORIGIN = "origin",
576 AXIS = "axis",
577 ANGLE = "angle",
578 RESCALE = "rescale",
579 VARIANTS = "variants",
581 MULTIPART = "multipart",
582 WHEN = crate::word::WHEN,
583 APPLY = "apply",
584 OR = "OR",
585 AND = "AND",
586 RENDER_TYPE = "render_type",
588 LAYER = "layer",
590 SHADE = "shade",
591 CULLFACE = "cullface",
592 TINTINDEX = "tintindex",
593 AMBIENT_OCCLUSION = "ambientocclusion",
594 GUI_LIGHT = "gui_light",
595 TRANSLATION = "translation",
596 SCALE = "scale",
597 BLOCK_PARENT = crate::id!(crate::ns::MINECRAFT, crate::concatcp!(crate::res::BLOCK_DIR, crate::kind::BLOCK)),
599 X = crate::word::X,
600 Y = crate::word::Y,
601 UVLOCK = "uvlock",
602 WEIGHT = "weight",
603 }
604
605 content_field {
607 ID = crate::word::ID,
608 KIND = crate::word::KIND,
609 MODEL = crate::word::MODEL,
610 ITEM_MODEL = crate::concatcp!(crate::kind::ITEM, crate::sep::WORD, crate::word::MODEL),
611 MATERIAL = crate::kind::MATERIAL,
612 ITEM = crate::kind::ITEM,
613 POTION = crate::kind::POTION,
614 EFFECTS = "effects",
615 EFFECT = crate::kind::EFFECT,
616 OF = "of",
617 COLOR = crate::word::COLOR,
618 }
619
620 yui_attr {
622 ID = crate::word::ID,
623 X = crate::word::X,
624 Y = crate::word::Y,
625 W = "w",
626 H = "h",
627 MIN_W = "min_w",
628 MIN_H = "min_h",
629 FLEX = "flex",
630 DOCK = "dock",
631 GAP = "gap",
632 PADDING = "padding",
633 BG = "bg",
634 COLOR = crate::word::COLOR,
635 ALIGN = "align",
636 HALIGN = "halign",
637 VALIGN = "valign",
638 MARGIN = "margin",
639 FONT_SCALE = "font_scale",
640 FONT = crate::kind::FONT,
641 SHADOW = "shadow",
642 NO_WRAP = "no_wrap",
643 ELLIPSIS = "ellipsis",
644 FOCUS_STYLE = "focus_style",
645 FOCUS_COLOR = "focus_color",
646 ENABLED = "enabled",
647 ON_CLICK = "on_click",
648 TOOLTIP = "tooltip",
649 WIDTH = crate::word::WIDTH,
650 HEIGHT = crate::word::HEIGHT,
651 ANCHOR = "anchor",
652 MODAL = "modal",
653 PAUSE = "pause",
654 LIVE = "live",
655 THEME = "theme",
656 TEXT = crate::word::TEXT,
657 PLACEHOLDER = "placeholder",
658 MAX_LENGTH = "max_length",
659 ON_CHANGE = "on_change",
660 ON_SUBMIT = "on_submit",
661 ITEM = crate::kind::ITEM,
662 COUNT = crate::word::COUNT,
663 INDEX = "index",
664 ACCEPTS = "accepts",
665 SOURCE = crate::word::SOURCE,
666 STRETCH = crate::word::STRETCH,
667 UV = crate::word::UV,
668 TINT = "tint",
669 KIND = crate::word::KIND,
670 RESULT = crate::word::RESULT,
671 PLACES = "places",
672 RECIPE_LAYOUT = "recipe_layout",
673 SLOT = "slot",
674 BLOCK = crate::kind::BLOCK,
675 FRAME = crate::word::FRAME,
677 SIZE = crate::word::SIZE,
678 BOOK_PAGE = "book_page",
680 NAME = crate::word::NAME,
682 TYPE = crate::word::TYPE,
683 DEFAULT = crate::word::DEFAULT,
684 SRC = crate::word::SRC,
686 DRAWER = "drawer",
687 DATA = crate::word::DATA,
688 STYLE = "style",
689 BASED_ON = "based_on",
690 ORIENTATION = "orientation",
691 ROWS = "rows",
694 COLUMNS = "columns",
695 ROW_SPACING = "row_spacing",
696 COLUMN_SPACING = "column_spacing",
697 MIN_HEIGHT = "min_height",
698 MAX_HEIGHT = "max_height",
699 MIN_WIDTH = "min_width",
700 MAX_WIDTH = "max_width",
701 VALUE = crate::word::VALUE,
702 SELECTED = "selected",
703 CHECKED = "checked",
704 ITEM_HEIGHT = "item_height",
705 SCROLL_KEY = "scroll_key",
706 VISIBLE = "visible",
707 X_KEY = "x:Key",
709 X_NAME = "x:Name",
710 X_VIEW_MODEL = "x:ViewModel",
712 X_CREATE = "x:Create",
713 X_DATA_TYPE = "x:DataType",
714 TARGET = crate::word::TARGET,
715 GRID_ROW = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, crate::yui::ROW),
716 GRID_COLUMN = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, crate::yui::COLUMN),
717 GRID_ROWSPAN = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, "RowSpan"),
718 GRID_COLUMNSPAN = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, "ColumnSpan"),
719 }
720}