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 }
41
42 yimage {
46 MAGIC = "YIMG",
47 }
48
49 symbols {
53 DIR = "symbols",
54 EXT = "debug",
56 }
57
58 pack {
60 DATA = crate::word::DATA,
62 ASSETS = "assets",
64 TAGS = "tags",
66 WORLDGEN = "worldgen",
68 OVERLAYS = crate::word::WHEN,
70 ANY_LOADER = crate::word::ANY,
72 ANY_VERSION = crate::word::ANY,
74 }
75
76 project {
78 RESOURCES = "resources",
80 CONTENT = crate::word::CONTENT,
82 FONT_COPIES = crate::kind::FONT,
84 SRC = crate::word::SRC,
86 OBJ = "obj",
89 TARGET = crate::concatcp!(crate::project::OBJ, crate::sep::PATH, crate::word::TARGET),
91 GENERATED = crate::concatcp!(crate::project::OBJ, crate::sep::PATH, "generated"),
93 BIN = "bin",
96 }
97
98 game_dir {
100 MODS = crate::concatcp!(crate::ns::YOG, crate::sep::HYPHEN, crate::word::MODS),
102 }
103
104
105 program {
107 CLI = crate::ns::YOG,
109 SERVE = "serve",
111 SCRIPT = "yog-script",
115 }
116
117 code_set {
121 BLOCKS = "Blocks",
122 ITEMS = "Items",
123 ENTITIES = "Entities",
124 ADVANCEMENTS = "Advancements",
125 MODELS = "Models",
126 ANIMS = "Anims",
127 TEXTURES = "Textures",
128 }
129
130 rust_crate {
133 PREFIX = crate::concatcp!(crate::ns::YOG, crate::sep::HYPHEN),
135 API_WORD = "api",
138 API = crate::concatcp!(PREFIX, API_WORD),
139 API_RUST_NAME = crate::concatcp!(crate::ns::YOG, crate::sep::WORD, API_WORD),
140 API_VERSION_KEY = crate::concatcp!(API_RUST_NAME, crate::sep::WORD, crate::serve_method::VERSION),
141 ABI = crate::concatcp!(PREFIX, "abi"),
142 UI = crate::concatcp!(PREFIX, crate::word::UI),
143 KIT = crate::concatcp!(PREFIX, "kit"),
144 GFX = crate::concatcp!(PREFIX, "gfx"),
145 REGISTRY = crate::concatcp!(PREFIX, crate::serve_param::REGISTRY),
146 DATA = crate::concatcp!(PREFIX, crate::word::DATA),
148 DATA_RUST_NAME = crate::concatcp!(crate::ns::YOG, crate::sep::WORD, crate::word::DATA),
149 }
150
151 res {
153 TEXTURES = crate::concatcp!(crate::model::TEXTURES, crate::sep::PATH),
155 MODELS = crate::concatcp!(crate::word::MODELS, crate::sep::PATH),
157 BLOCKSTATES = crate::concatcp!("blockstates", crate::sep::PATH),
159 ITEM_DIR = crate::concatcp!(crate::kind::ITEM, crate::sep::PATH),
161 ITEM_DEFINITIONS = crate::concatcp!(crate::word::ITEMS, crate::sep::PATH),
163 EQUIPMENT = crate::concatcp!(crate::word::EQUIPMENT, crate::sep::PATH),
165 EQUIPMENT_TEXTURES = crate::concatcp!(crate::kind::ENTITY, crate::sep::PATH, crate::word::EQUIPMENT, crate::sep::PATH),
167 ARMOR_TEXTURES = crate::concatcp!(crate::word::MODELS, crate::sep::PATH, crate::word::ARMOR, crate::sep::PATH),
169 ARMOR_LAYER = "_layer_",
171 SPAWN_EGG_SUFFIX = crate::concatcp!(crate::sep::WORD, crate::word::SPAWN_EGG),
173 BLOCK_DIR = crate::concatcp!(crate::kind::BLOCK, crate::sep::PATH),
175 GUI_SPRITES = crate::concatcp!(crate::word::GUI, crate::sep::PATH, "sprites", crate::sep::PATH),
177 ATLASES = crate::concatcp!("atlases", crate::sep::PATH),
179 LANG = crate::concatcp!(crate::typed::LANG, crate::sep::PATH),
181 BUILTIN = crate::concatcp!("builtin", crate::sep::PATH),
183 SOUNDS = crate::concatcp!(SOUNDS_WORD, crate::sep::PATH),
185 SOUNDS_JSON = crate::concatcp!(SOUNDS_WORD, JSON),
186 SOUNDS_WORD = "sounds",
187 PARTICLES = crate::concatcp!("particles", crate::sep::PATH),
189 OGG = ".ogg",
190 PNG = crate::concatcp!(crate::sep::DOT, crate::word::PNG),
191 SVG = ".svg",
192 JSON = ".json",
193 MCMETA = ".mcmeta",
194 }
195
196 yog {
198 STATE = crate::id!(crate::ns::YOG, crate::word::STATE),
200 HANGING = crate::id!(crate::ns::YOG, "hanging"),
202 ENTITY_NBT = crate::id!(crate::ns::YOG, crate::word::DATA),
204 ENTITY_DATA = crate::id!(crate::ns::YOG, crate::concatcp!(crate::kind::ENTITY, crate::sep::WORD, crate::word::DATA)),
206 DIMENSIONS = crate::id!(crate::ns::YOG, "dimensions"),
209 SLOT_PREFIX = crate::id!(crate::ns::YOG, "slot:"),
211 PLAYER_INVENTORY = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::PLAYER, crate::sep::WORD, crate::kind::INVENTORY)),
213 MACHINE_PREFIX = crate::id!(crate::ns::YOG, "machine:"),
215 POTION_ALIAS = crate::id!(crate::ns::YOG, "potion/"),
217 FONT_ALIAS = crate::id!(crate::ns::YOG, "font/"),
220 DEFAULT_FONT = crate::concatcp!(FONT_ALIAS, crate::game_font::DEFAULT),
222 SPAWN_EGG_MODEL = crate::id!(crate::ns::YOG, crate::concatcp!(crate::res::ITEM_DIR, crate::word::SPAWN_EGG)),
224 BOOK_SHEET = crate::concatcp!(BOOK_TEXTURE, crate::sep::PATH, crate::kind::BOOK),
226 CRAFTING_SHEET = crate::concatcp!(BOOK_TEXTURE, crate::sep::PATH, "crafting"),
227 DESIGNER_SCREEN = crate::id!(crate::ns::YOG, "designer"),
229 CUTSCENE_SCREEN = crate::id!(crate::ns::YOG, crate::word::CUTSCENE),
231 BOOK_TEXTURE = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::GUI, crate::sep::PATH, crate::kind::BOOK)),
233 DYNAMIC_SVG_PREFIX = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::DYNAMIC, crate::sep::PATH, "svg", crate::sep::WORD)),
235 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)),
238 DYNAMIC_TEXT_PREFIX = crate::id!(crate::ns::YOG, crate::concatcp!(crate::word::DYNAMIC, crate::sep::PATH, crate::word::TEXT, crate::sep::WORD)),
240 }
241
242 game_font {
245 DEFAULT = crate::word::DEFAULT,
246 UNIFORM = "uniform",
248 ALT = "alt",
250 ILLAGERALT = "illageralt",
251 }
252
253 attribute {
256 MAX_HEALTH = "max_health",
257 }
258
259 gamemode {
261 SURVIVAL = "survival",
262 CREATIVE = "creative",
263 ADVENTURE = "adventure",
264 SPECTATOR = "spectator",
265 }
266
267 game {
269 DEFAULT_FONT = crate::id!(crate::ns::MINECRAFT, crate::game_font::DEFAULT),
272 VANILLA_THEME = crate::id!(crate::ns::MINECRAFT, "vanilla"),
274 OVERWORLD = crate::id!(crate::ns::MINECRAFT, "overworld"),
275 AIR = crate::id!(crate::ns::MINECRAFT, crate::word::AIR),
277 PLAYER = crate::id!(crate::ns::MINECRAFT, crate::word::PLAYER),
279 NO_SOUND = crate::id!(crate::ns::MINECRAFT, "intentionally_empty"),
281 PLAINS = crate::id!(crate::ns::MINECRAFT, "plains"),
283 THE_NETHER = crate::id!(crate::ns::MINECRAFT, "the_nether"),
284 THE_END = crate::id!(crate::ns::MINECRAFT, "the_end"),
285 MINEABLE = crate::id!(crate::ns::MINECRAFT, "mineable/"),
287 MISSING_TEXTURE = crate::id!(crate::ns::MINECRAFT, "missingno"),
289 WRITTEN_BOOK = crate::id!(crate::ns::MINECRAFT, "written_book"),
291 BOOK = crate::id!(crate::ns::MINECRAFT, crate::kind::BOOK),
292 OLD_ATTRIBUTE_PREFIX = crate::concatcp!(crate::word::GENERIC, crate::sep::DOT),
294 LOCALE = "en_us",
296 }
297
298
299 shape_kind {
302 ANY = crate::word::ANY,
303 BOOL = crate::word::BOOL,
304 INT = crate::word::INT,
305 FLOAT = "float",
306 STRING = crate::word::STRING,
307 ATOM = "atom",
308 TEXT = crate::word::TEXT,
309 IMAGE = crate::word::IMAGE,
310 COLOR = crate::word::COLOR,
311 BYTES = crate::word::BYTES,
312 RES = "res",
313 REF = "ref",
314 TAG = crate::kind::TAG,
315 REF_OR_TAG = "ref_or_tag",
316 REF_OR_IMAGE = "ref_or_image",
317 LIST = "list",
318 MAP = "map",
319 OPTIONAL = crate::word::OPTIONAL,
320 STRUCT = "struct",
321 ENUM = "enum",
322 DEF = "def",
324 }
325
326 yui {
328 SCREEN = "Screen",
329 COMPONENT = "Component",
330 PROPERTY = "Property",
332 EVENT = "Event",
333 STYLE = "Style",
334 CANVAS = "Canvas",
335 COLUMN = "Column",
336 ROW = "Row",
337 GRID = "Grid",
338 ROW_DEFINITION = "RowDefinition",
341 COLUMN_DEFINITION = "ColumnDefinition",
342 ROW_DEFINITIONS = crate::concatcp!(GRID, crate::sep::DOT, ROW_DEFINITION, crate::data_layout::PLURAL),
343 COLUMN_DEFINITIONS = crate::concatcp!(GRID, crate::sep::DOT, COLUMN_DEFINITION, crate::data_layout::PLURAL),
344 SCROLL_VIEW = "ScrollView",
345 LABEL = "Label",
346 BUTTON = "Button",
347 TOGGLE_BUTTON = "ToggleButton",
348 TEXT_BOX = "TextBox",
349 IMAGE = "Image",
350 VIDEO = "Video",
351 SURFACE = "Surface",
352 SPACER = "Spacer",
353 STAT_BAR = "StatBar",
354 LIST_VIEW = "ListView",
355 ITEMS_CONTROL = "ItemsControl",
356 CONTENT_PRESENTER = "ContentPresenter",
357 ITEM_SLOT = "ItemSlot",
359 INV_SLOT = "InvSlot",
360 SLOT = "Slot",
361 PLAYER_INVENTORY = "PlayerInventory",
362 MACHINE = "Machine",
364 RECIPE_AREA = "RecipeArea",
366 RECIPE_SLOT = "RecipeSlot",
368 RECIPE_RESULT = "RecipeResult",
369 RECIPE_COUNT = "RecipeCount",
370 BLOCK_SLOT = "BlockSlot",
372 BOOK_HEADER = "BookHeader",
374 BOOK_TEXT = "BookText",
375 BOOK_ITEM = "BookItem",
376 DRAWN = "Drawn",
378 }
379
380 tag_file {
382 VALUES = crate::word::VALUES,
383 OPTIONAL = crate::word::OPTIONAL,
385 REPLACE = "replace",
386 ID = crate::word::ID,
388 REQUIRED = "required",
389 }
390
391 atlas_source {
395 SOURCES = "sources",
396 TYPE = crate::word::TYPE,
397 SINGLE = "single",
398 UNSTITCH = "unstitch",
399 RESOURCE = "resource",
400 SPRITE = crate::word::SPRITE,
401 DIVISOR_X = "divisor_x",
402 DIVISOR_Y = "divisor_y",
403 REGIONS = "regions",
404 X = crate::word::X,
405 Y = crate::word::Y,
406 WIDTH = crate::word::WIDTH,
407 HEIGHT = crate::word::HEIGHT,
408 BLOCKS = crate::word::BLOCKS,
410 ITEMS = crate::word::ITEMS,
411 }
412
413 texture_slot {
416 ALL = "all",
417 SIDE = "side",
418 TOP = crate::word::TOP,
419 BOTTOM = crate::word::BOTTOM,
420 END = crate::word::END,
421 FRONT = "front",
422 TEXTURE = crate::word::TEXTURE,
424 }
425
426 block_state {
428 FACING = "facing",
430 FACE = "face",
432 FLOOR = "floor",
433 WALL = crate::word::WALL,
434 CEILING = "ceiling",
435 WATERLOGGED = "waterlogged",
437 FALSE = crate::word::FALSE,
439 TRUE = crate::word::TRUE,
440 }
441
442 loot {
444 TYPE = crate::word::TYPE,
445 POOLS = "pools",
446 ROLLS = "rolls",
447 ENTRIES = crate::word::ENTRIES,
448 NAME = crate::word::NAME,
449 CONDITIONS = "conditions",
450 CONDITION = "condition",
451 FUNCTIONS = "functions",
452 FUNCTION = crate::word::FUNCTION,
453 COUNT = crate::word::COUNT,
454 MIN = "min",
455 MAX = "max",
456 BLOCK = crate::word::BLOCK,
457 PROPERTIES = "properties",
458 BLOCK_TABLE = crate::id!(crate::ns::MINECRAFT, crate::word::BLOCK),
460 GENERIC_TABLE = crate::id!(crate::ns::MINECRAFT, crate::word::GENERIC),
461 ITEM_ENTRY = crate::id!(crate::ns::MINECRAFT, crate::word::ITEM),
463 UNIFORM = crate::id!(crate::ns::MINECRAFT, crate::game_font::UNIFORM),
465 SET_COUNT = crate::id!(crate::ns::MINECRAFT, "set_count"),
466 EXPLOSION_DECAY = crate::id!(crate::ns::MINECRAFT, "explosion_decay"),
467 SURVIVES_EXPLOSION = crate::id!(crate::ns::MINECRAFT, "survives_explosion"),
468 BLOCK_STATE_PROPERTY = crate::id!(crate::ns::MINECRAFT, "block_state_property"),
469 BLOCKS = crate::concatcp!(crate::word::BLOCKS, crate::sep::PATH),
471 }
472
473 dimension_field {
476 ID = crate::word::ID,
477 DIMENSION_TYPE = crate::concatcp!(crate::kind::DIMENSION, crate::sep::WORD, crate::word::TYPE),
478 BIOME = crate::kind::BIOME,
479 STRUCTURES = "structures",
480 FEATURES = "features",
481 MOB_SPAWNING = "mob_spawning",
482 GENERATOR_TYPE = "generator_type",
484 TERRAIN = "terrain",
486 }
487
488 yui_value {
490 TRUE = crate::word::TRUE,
491 FALSE = crate::word::FALSE,
492 AUTO = crate::word::AUTO,
494 START = crate::word::START,
495 CENTER = crate::word::CENTER,
496 END = crate::word::END,
497 LEFT = crate::word::LEFT,
498 RIGHT = crate::word::RIGHT,
499 TOP = crate::word::TOP,
500 BOTTOM = crate::word::BOTTOM,
501 FILL = crate::word::FILL,
503 STRETCH = crate::word::STRETCH,
504 OUTLINE = crate::word::OUTLINE,
505 NONE = crate::word::NONE,
506 }
507
508 yui_markup {
511 BIND_OPEN = "{x:Bind ",
512 BIND_CLOSE = "}",
513 BIND = "{x:Bind",
515 BINDING = "{Binding",
516 DESIGN = "d:",
518 RESOURCES = crate::concatcp!(crate::sep::DOT, "Resources"),
520 }
521
522
523 tool_kind {
526 PICKAXE = "pickaxe",
527 AXE = "axe",
528 SHOVEL = "shovel",
529 HOE = "hoe",
530 SWORD = "sword",
532 }
533
534 model {
536 PARENT = "parent",
537 TEXTURES = "textures",
538 ELEMENTS = "elements",
539 DISPLAY = crate::word::DISPLAY,
540 FACES = "faces",
541 FROM = "from",
542 TO = "to",
543 UV = crate::word::UV,
544 ROTATION = "rotation",
545 TEXTURE = crate::word::TEXTURE,
546 LAYER0 = "layer0",
548 PARTICLE = crate::word::PARTICLE,
550 MODEL = crate::word::MODEL,
552 ORIGIN = "origin",
554 AXIS = "axis",
555 ANGLE = "angle",
556 RESCALE = "rescale",
557 VARIANTS = "variants",
559 MULTIPART = "multipart",
560 WHEN = crate::word::WHEN,
561 APPLY = "apply",
562 OR = "OR",
563 AND = "AND",
564 RENDER_TYPE = "render_type",
566 LAYER = "layer",
568 SHADE = "shade",
569 CULLFACE = "cullface",
570 TINTINDEX = "tintindex",
571 AMBIENT_OCCLUSION = "ambientocclusion",
572 GUI_LIGHT = "gui_light",
573 TRANSLATION = "translation",
574 SCALE = "scale",
575 BLOCK_PARENT = crate::id!(crate::ns::MINECRAFT, crate::concatcp!(crate::res::BLOCK_DIR, crate::kind::BLOCK)),
577 X = crate::word::X,
578 Y = crate::word::Y,
579 UVLOCK = "uvlock",
580 WEIGHT = "weight",
581 }
582
583 content_field {
585 ID = crate::word::ID,
586 KIND = crate::word::KIND,
587 MODEL = crate::word::MODEL,
588 ITEM_MODEL = crate::concatcp!(crate::kind::ITEM, crate::sep::WORD, crate::word::MODEL),
589 MATERIAL = crate::kind::MATERIAL,
590 ITEM = crate::kind::ITEM,
591 POTION = crate::kind::POTION,
592 EFFECTS = "effects",
593 EFFECT = crate::kind::EFFECT,
594 OF = "of",
595 COLOR = crate::word::COLOR,
596 }
597
598 yui_attr {
600 ID = crate::word::ID,
601 X = crate::word::X,
602 Y = crate::word::Y,
603 W = "w",
604 H = "h",
605 MIN_W = "min_w",
606 MIN_H = "min_h",
607 FLEX = "flex",
608 DOCK = "dock",
609 GAP = "gap",
610 PADDING = "padding",
611 BG = "bg",
612 COLOR = crate::word::COLOR,
613 ALIGN = "align",
614 HALIGN = "halign",
615 VALIGN = "valign",
616 MARGIN = "margin",
617 FONT_SCALE = "font_scale",
618 FONT = crate::kind::FONT,
619 SHADOW = "shadow",
620 NO_WRAP = "no_wrap",
621 ELLIPSIS = "ellipsis",
622 FOCUS_STYLE = "focus_style",
623 FOCUS_COLOR = "focus_color",
624 ENABLED = "enabled",
625 ON_CLICK = "on_click",
626 TOOLTIP = "tooltip",
627 WIDTH = crate::word::WIDTH,
628 HEIGHT = crate::word::HEIGHT,
629 ANCHOR = "anchor",
630 MODAL = "modal",
631 PAUSE = "pause",
632 LIVE = "live",
633 THEME = "theme",
634 TEXT = crate::word::TEXT,
635 PLACEHOLDER = "placeholder",
636 MAX_LENGTH = "max_length",
637 ON_CHANGE = "on_change",
638 ON_SUBMIT = "on_submit",
639 ITEM = crate::kind::ITEM,
640 COUNT = crate::word::COUNT,
641 INDEX = "index",
642 ACCEPTS = "accepts",
643 SOURCE = crate::word::SOURCE,
644 STRETCH = crate::word::STRETCH,
645 UV = crate::word::UV,
646 TINT = "tint",
647 KIND = crate::word::KIND,
648 RESULT = crate::word::RESULT,
649 PLACES = "places",
650 RECIPE_LAYOUT = "recipe_layout",
651 SLOT = "slot",
652 BLOCK = crate::kind::BLOCK,
653 FRAME = crate::word::FRAME,
655 SIZE = crate::word::SIZE,
656 BOOK_PAGE = "book_page",
658 NAME = crate::word::NAME,
660 TYPE = crate::word::TYPE,
661 DEFAULT = crate::word::DEFAULT,
662 SRC = crate::word::SRC,
664 DRAWER = "drawer",
665 DATA = crate::word::DATA,
666 STYLE = "style",
667 BASED_ON = "based_on",
668 ORIENTATION = "orientation",
669 ROWS = "rows",
672 COLUMNS = "columns",
673 ROW_SPACING = "row_spacing",
674 COLUMN_SPACING = "column_spacing",
675 MIN_HEIGHT = "min_height",
676 MAX_HEIGHT = "max_height",
677 MIN_WIDTH = "min_width",
678 MAX_WIDTH = "max_width",
679 VALUE = crate::word::VALUE,
680 SELECTED = "selected",
681 CHECKED = "checked",
682 ITEM_HEIGHT = "item_height",
683 SCROLL_KEY = "scroll_key",
684 VISIBLE = "visible",
685 X_KEY = "x:Key",
687 X_NAME = "x:Name",
688 X_VIEW_MODEL = "x:ViewModel",
690 X_CREATE = "x:Create",
691 X_DATA_TYPE = "x:DataType",
692 TARGET = crate::word::TARGET,
693 GRID_ROW = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, crate::yui::ROW),
694 GRID_COLUMN = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, crate::yui::COLUMN),
695 GRID_ROWSPAN = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, "RowSpan"),
696 GRID_COLUMNSPAN = crate::concatcp!(crate::yui::GRID, crate::sep::DOT, "ColumnSpan"),
697 }
698}