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 ENTITY_DATA = crate::id!(crate::ns::YOG, crate::concatcp!(crate::kind::ENTITY, crate::sep::WORD, crate::word::DATA)),
225 DIMENSIONS = crate::id!(crate::ns::YOG, "dimensions"),
228 SLOT_PREFIX = crate::id!(crate::ns::YOG, "slot:"),
230 PLAYER_INVENTORY = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::PLAYER, crate::sep::WORD, crate::kind::INVENTORY)),
232 MACHINE_PREFIX = crate::id!(crate::ns::YOG, "machine:"),
234 POTION_ALIAS = crate::id!(crate::ns::YOG, "potion/"),
236 FONT_ALIAS = crate::id!(crate::ns::YOG, "font/"),
239 DEFAULT_FONT = crate::concatcp!(FONT_ALIAS, crate::game_font::DEFAULT),
241 SPAWN_EGG_MODEL = crate::id!(crate::ns::YOG, crate::concatcp!(crate::res::ITEM_DIR, crate::word::SPAWN_EGG)),
243 BOOK_SHEET = crate::concatcp!(BOOK_TEXTURE, crate::sep::PATH, crate::kind::BOOK),
245 CRAFTING_SHEET = crate::concatcp!(BOOK_TEXTURE, crate::sep::PATH, "crafting"),
246 DESIGNER_SCREEN = crate::id!(crate::ns::YOG, "designer"),
248 CUTSCENE_SCREEN = crate::id!(crate::ns::YOG, crate::word::CUTSCENE),
250 BOOK_TEXTURE = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::GUI, crate::sep::PATH, crate::kind::BOOK)),
252 DYNAMIC_SVG_PREFIX = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::DYNAMIC, crate::sep::PATH, "svg", crate::sep::WORD)),
254 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)),
257 DYNAMIC_TEXT_PREFIX = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::DYNAMIC, crate::sep::PATH, crate::word::TEXT, crate::sep::WORD)),
259 }
260
261 game_font {
264 DEFAULT = crate::word::DEFAULT,
265 UNIFORM = "uniform",
267 ALT = "alt",
269 ILLAGERALT = "illageralt",
270 }
271
272 attribute {
275 MAX_HEALTH = "max_health",
276 }
277
278 gamemode {
280 SURVIVAL = "survival",
281 CREATIVE = "creative",
282 ADVENTURE = "adventure",
283 SPECTATOR = "spectator",
284 }
285
286 game {
288 DEFAULT_FONT = crate::id!(crate::ns::MINECRAFT, crate::game_font::DEFAULT),
291 VANILLA_THEME = crate::id!(crate::ns::MINECRAFT, "vanilla"),
293 OVERWORLD = crate::id!(crate::ns::MINECRAFT, "overworld"),
294 AIR = crate::id!(crate::ns::MINECRAFT, crate::word::AIR),
296 PLAYER = crate::id!(crate::ns::MINECRAFT, crate::word::PLAYER),
298 NO_SOUND = crate::id!(crate::ns::MINECRAFT, "intentionally_empty"),
300 PLAINS = crate::id!(crate::ns::MINECRAFT, "plains"),
302 THE_NETHER = crate::id!(crate::ns::MINECRAFT, "the_nether"),
303 THE_END = crate::id!(crate::ns::MINECRAFT, "the_end"),
304 MINEABLE = crate::id!(crate::ns::MINECRAFT, "mineable/"),
306 MISSING_TEXTURE = crate::id!(crate::ns::MINECRAFT, "missingno"),
308 WRITTEN_BOOK = crate::id!(crate::ns::MINECRAFT, "written_book"),
310 BOOK = crate::id!(crate::ns::MINECRAFT, crate::kind::BOOK),
311 OLD_ATTRIBUTE_PREFIX = crate::concatcp!(crate::word::GENERIC, crate::sep::DOT),
313 LOCALE = "en_us",
315 }
316
317
318 shape_kind {
321 ANY = crate::word::ANY,
322 BOOL = crate::word::BOOL,
323 INT = crate::word::INT,
324 FLOAT = crate::word::FLOAT,
325 STRING = crate::word::STRING,
326 ATOM = "atom",
327 TEXT = crate::word::TEXT,
328 IMAGE = crate::word::IMAGE,
329 COLOR = crate::word::COLOR,
330 BYTES = crate::word::BYTES,
331 RES = "res",
332 REF = "ref",
333 TAG = crate::kind::TAG,
334 REF_OR_TAG = "ref_or_tag",
335 REF_OR_IMAGE = "ref_or_image",
336 LIST = "list",
337 MAP = "map",
338 OPTIONAL = crate::word::OPTIONAL,
339 STRUCT = "struct",
340 ENUM = "enum",
341 DEF = "def",
343 }
344
345 yui {
347 SCREEN = "Screen",
348 COMPONENT = "Component",
349 PROPERTY = "Property",
351 EVENT = "Event",
352 STYLE = "Style",
353 CANVAS = "Canvas",
354 COLUMN = "Column",
355 ROW = "Row",
356 GRID = "Grid",
357 ROW_DEFINITION = "RowDefinition",
360 COLUMN_DEFINITION = "ColumnDefinition",
361 ROW_DEFINITIONS = crate::concatcp!(GRID, crate::sep::DOT, ROW_DEFINITION, crate::data_layout::PLURAL),
362 COLUMN_DEFINITIONS = crate::concatcp!(GRID, crate::sep::DOT, COLUMN_DEFINITION, crate::data_layout::PLURAL),
363 SCROLL_VIEW = "ScrollView",
364 LABEL = "Label",
365 BUTTON = "Button",
366 TOGGLE_BUTTON = "ToggleButton",
367 TEXT_BOX = "TextBox",
368 IMAGE = "Image",
369 VIDEO = "Video",
370 SURFACE = "Surface",
371 SPACER = "Spacer",
372 STAT_BAR = "StatBar",
373 LIST_VIEW = "ListView",
374 ITEMS_CONTROL = "ItemsControl",
375 CONTENT_PRESENTER = "ContentPresenter",
376 ITEM_SLOT = "ItemSlot",
378 INV_SLOT = "InvSlot",
379 SLOT = "Slot",
380 PLAYER_INVENTORY = "PlayerInventory",
381 MACHINE = "Machine",
383 RECIPE_AREA = "RecipeArea",
385 RECIPE_SLOT = "RecipeSlot",
387 RECIPE_RESULT = "RecipeResult",
388 RECIPE_COUNT = "RecipeCount",
389 BLOCK_SLOT = "BlockSlot",
391 BOOK_HEADER = "BookHeader",
393 BOOK_TEXT = "BookText",
394 BOOK_ITEM = "BookItem",
395 DRAWN = "Drawn",
397 }
398
399 tag_file {
401 VALUES = crate::word::VALUES,
402 OPTIONAL = crate::word::OPTIONAL,
404 REPLACE = "replace",
405 ID = crate::word::ID,
407 REQUIRED = "required",
408 }
409
410 atlas_source {
414 SOURCES = "sources",
415 TYPE = crate::word::TYPE,
416 SINGLE = "single",
417 UNSTITCH = "unstitch",
418 RESOURCE = "resource",
419 SPRITE = crate::word::SPRITE,
420 DIVISOR_X = "divisor_x",
421 DIVISOR_Y = "divisor_y",
422 REGIONS = "regions",
423 X = crate::word::X,
424 Y = crate::word::Y,
425 WIDTH = crate::word::WIDTH,
426 HEIGHT = crate::word::HEIGHT,
427 BLOCKS = crate::word::BLOCKS,
429 ITEMS = crate::word::ITEMS,
430 }
431
432 texture_slot {
435 ALL = "all",
436 SIDE = "side",
437 TOP = crate::word::TOP,
438 BOTTOM = crate::word::BOTTOM,
439 END = crate::word::END,
440 FRONT = "front",
441 TEXTURE = crate::word::TEXTURE,
443 }
444
445 block_state {
447 FACING = "facing",
449 FACE = "face",
451 FLOOR = "floor",
452 WALL = crate::word::WALL,
453 CEILING = "ceiling",
454 WATERLOGGED = "waterlogged",
456 FALSE = crate::word::FALSE,
458 TRUE = crate::word::TRUE,
459 }
460
461 loot {
463 TYPE = crate::word::TYPE,
464 POOLS = "pools",
465 ROLLS = "rolls",
466 ENTRIES = crate::word::ENTRIES,
467 NAME = crate::word::NAME,
468 CONDITIONS = "conditions",
469 CONDITION = "condition",
470 FUNCTIONS = "functions",
471 FUNCTION = crate::word::FUNCTION,
472 COUNT = crate::word::COUNT,
473 MIN = "min",
474 MAX = "max",
475 BLOCK = crate::word::BLOCK,
476 PROPERTIES = "properties",
477 BLOCK_TABLE = crate::id!(crate::ns::MINECRAFT, crate::word::BLOCK),
479 GENERIC_TABLE = crate::id!(crate::ns::MINECRAFT, crate::word::GENERIC),
480 ITEM_ENTRY = crate::id!(crate::ns::MINECRAFT, crate::word::ITEM),
482 UNIFORM = crate::id!(crate::ns::MINECRAFT, crate::game_font::UNIFORM),
484 SET_COUNT = crate::id!(crate::ns::MINECRAFT, "set_count"),
485 EXPLOSION_DECAY = crate::id!(crate::ns::MINECRAFT, "explosion_decay"),
486 SURVIVES_EXPLOSION = crate::id!(crate::ns::MINECRAFT, "survives_explosion"),
487 BLOCK_STATE_PROPERTY = crate::id!(crate::ns::MINECRAFT, "block_state_property"),
488 BLOCKS = crate::concatcp!(crate::word::BLOCKS, crate::sep::PATH),
490 }
491
492 dimension_field {
495 ID = crate::word::ID,
496 DIMENSION_TYPE = crate::concatcp!(crate::kind::DIMENSION, crate::sep::WORD, crate::word::TYPE),
497 BIOME = crate::kind::BIOME,
498 STRUCTURES = "structures",
499 FEATURES = "features",
500 MOB_SPAWNING = "mob_spawning",
501 GENERATOR_TYPE = "generator_type",
503 TERRAIN = "terrain",
505 }
506
507 yui_value {
509 TRUE = crate::word::TRUE,
510 FALSE = crate::word::FALSE,
511 AUTO = crate::word::AUTO,
513 START = crate::word::START,
514 CENTER = crate::word::CENTER,
515 END = crate::word::END,
516 LEFT = crate::word::LEFT,
517 RIGHT = crate::word::RIGHT,
518 TOP = crate::word::TOP,
519 BOTTOM = crate::word::BOTTOM,
520 FILL = crate::word::FILL,
522 STRETCH = crate::word::STRETCH,
523 OUTLINE = crate::word::OUTLINE,
524 NONE = crate::word::NONE,
525 }
526
527 yui_markup {
530 BIND_OPEN = "{x:Bind ",
531 BIND_CLOSE = "}",
532 BIND = "{x:Bind",
534 BINDING = "{Binding",
535 DESIGN = "d:",
537 RESOURCES = crate::concatcp!(crate::sep::DOT, "Resources"),
539 }
540
541
542 tool_kind {
545 PICKAXE = "pickaxe",
546 AXE = "axe",
547 SHOVEL = "shovel",
548 HOE = "hoe",
549 SWORD = "sword",
551 }
552
553 model {
555 PARENT = "parent",
556 TEXTURES = "textures",
557 ELEMENTS = "elements",
558 DISPLAY = crate::word::DISPLAY,
559 FACES = "faces",
560 FROM = "from",
561 TO = "to",
562 UV = crate::word::UV,
563 ROTATION = "rotation",
564 TEXTURE = crate::word::TEXTURE,
565 LAYER0 = "layer0",
567 PARTICLE = crate::word::PARTICLE,
569 MODEL = crate::word::MODEL,
571 ORIGIN = "origin",
573 AXIS = "axis",
574 ANGLE = "angle",
575 RESCALE = "rescale",
576 VARIANTS = "variants",
578 MULTIPART = "multipart",
579 WHEN = crate::word::WHEN,
580 APPLY = "apply",
581 OR = "OR",
582 AND = "AND",
583 RENDER_TYPE = "render_type",
585 LAYER = "layer",
587 SHADE = "shade",
588 CULLFACE = "cullface",
589 TINTINDEX = "tintindex",
590 AMBIENT_OCCLUSION = "ambientocclusion",
591 GUI_LIGHT = "gui_light",
592 TRANSLATION = "translation",
593 SCALE = "scale",
594 BLOCK_PARENT = crate::id!(crate::ns::MINECRAFT, crate::concatcp!(crate::res::BLOCK_DIR, crate::kind::BLOCK)),
596 X = crate::word::X,
597 Y = crate::word::Y,
598 UVLOCK = "uvlock",
599 WEIGHT = "weight",
600 }
601
602 content_field {
604 ID = crate::word::ID,
605 KIND = crate::word::KIND,
606 MODEL = crate::word::MODEL,
607 ITEM_MODEL = crate::concatcp!(crate::kind::ITEM, crate::sep::WORD, crate::word::MODEL),
608 MATERIAL = crate::kind::MATERIAL,
609 ITEM = crate::kind::ITEM,
610 POTION = crate::kind::POTION,
611 EFFECTS = "effects",
612 EFFECT = crate::kind::EFFECT,
613 OF = "of",
614 COLOR = crate::word::COLOR,
615 }
616
617 yui_attr {
619 ID = crate::word::ID,
620 X = crate::word::X,
621 Y = crate::word::Y,
622 W = "w",
623 H = "h",
624 MIN_W = "min_w",
625 MIN_H = "min_h",
626 FLEX = "flex",
627 DOCK = "dock",
628 GAP = "gap",
629 PADDING = "padding",
630 BG = "bg",
631 COLOR = crate::word::COLOR,
632 ALIGN = "align",
633 HALIGN = "halign",
634 VALIGN = "valign",
635 MARGIN = "margin",
636 FONT_SCALE = "font_scale",
637 FONT = crate::kind::FONT,
638 SHADOW = "shadow",
639 NO_WRAP = "no_wrap",
640 ELLIPSIS = "ellipsis",
641 FOCUS_STYLE = "focus_style",
642 FOCUS_COLOR = "focus_color",
643 ENABLED = "enabled",
644 ON_CLICK = "on_click",
645 TOOLTIP = "tooltip",
646 WIDTH = crate::word::WIDTH,
647 HEIGHT = crate::word::HEIGHT,
648 ANCHOR = "anchor",
649 MODAL = "modal",
650 PAUSE = "pause",
651 LIVE = "live",
652 THEME = "theme",
653 TEXT = crate::word::TEXT,
654 PLACEHOLDER = "placeholder",
655 MAX_LENGTH = "max_length",
656 ON_CHANGE = "on_change",
657 ON_SUBMIT = "on_submit",
658 ITEM = crate::kind::ITEM,
659 COUNT = crate::word::COUNT,
660 INDEX = "index",
661 ACCEPTS = "accepts",
662 SOURCE = crate::word::SOURCE,
663 STRETCH = crate::word::STRETCH,
664 UV = crate::word::UV,
665 TINT = "tint",
666 KIND = crate::word::KIND,
667 RESULT = crate::word::RESULT,
668 PLACES = "places",
669 RECIPE_LAYOUT = "recipe_layout",
670 SLOT = "slot",
671 BLOCK = crate::kind::BLOCK,
672 FRAME = crate::word::FRAME,
674 SIZE = crate::word::SIZE,
675 BOOK_PAGE = "book_page",
677 NAME = crate::word::NAME,
679 TYPE = crate::word::TYPE,
680 DEFAULT = crate::word::DEFAULT,
681 SRC = crate::word::SRC,
683 DRAWER = "drawer",
684 DATA = crate::word::DATA,
685 STYLE = "style",
686 BASED_ON = "based_on",
687 ORIENTATION = "orientation",
688 ROWS = "rows",
691 COLUMNS = "columns",
692 ROW_SPACING = "row_spacing",
693 COLUMN_SPACING = "column_spacing",
694 MIN_HEIGHT = "min_height",
695 MAX_HEIGHT = "max_height",
696 MIN_WIDTH = "min_width",
697 MAX_WIDTH = "max_width",
698 VALUE = crate::word::VALUE,
699 SELECTED = "selected",
700 CHECKED = "checked",
701 ITEM_HEIGHT = "item_height",
702 SCROLL_KEY = "scroll_key",
703 VISIBLE = "visible",
704 X_KEY = "x:Key",
706 X_NAME = "x:Name",
707 X_VIEW_MODEL = "x:ViewModel",
709 X_CREATE = "x:Create",
710 X_DATA_TYPE = "x:DataType",
711 TARGET = crate::word::TARGET,
712 GRID_ROW = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, crate::yui::ROW),
713 GRID_COLUMN = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, crate::yui::COLUMN),
714 GRID_ROWSPAN = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, "RowSpan"),
715 GRID_COLUMNSPAN = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, "ColumnSpan"),
716 }
717}