elliotfontaine/yard-godot: YARD is an editor plugin for Godot to manage resources and query them at runtime, with a t

3 phút đọc

elliotfontaine/yard-godot: YARD is an editor plugin for Godot to manage resources and query them at runtime, with a t – Repository elliotfontaine/yard-godot. Mô tả: YARD is an editor plugin for Godot to manage resources and query them at runtime, with a table view in the editor as the cherry on top.. 342 stars, 26 forks, ngôn ngữ chính GDScript, cập nhật 2026-09-28.

1. Repository làm gì?

A Godot 4 plugin for managing and querying collections of resources, with a spreadsheet-like editor and a lightweight runtime API.

YARD builds on Godot's resource system. The editor tab lets you create and manage registries: collections of resources backed by a small .tres file that stores only IDs, not the resources themselves. You control if and when resources are loaded.

The full Registry API is documented in the in-editor class reference: Help > Search Help > Registry.

Open the Registry tab in the editor, click File > New Registry, and configure:

If a scan directory is set, entries are managed automatically. Otherwise, you can add entries manually in two ways:

Inspector dropdown with @export_custom

elliotfontaine/yard-godot: YARD is an editor plugin for Godot to manage resources and query them at runtime, with a t
Hình 1: Minh họa elliotfontaine/yard-godot: YARD is an editor plugin for Godot to manage resources and query them at runtime, with a t

2. Dữ liệu và cấu trúc đáng chú ý

Registry.PROPERTY_HINT_CUSTOM enables a dropdown in the inspector for any StringName, String, Array[StringName], or Array[String] property, populated with the string IDs of a given registry.

To look up the string ID of an already-loaded resource:

Querying entries through the property index

Set up indexed properties in Registry Settings and press Reindex to bake the index. At runtime, queries run without loading any resource.

Properties support dot notation for nested resources: &"weapon.rarity" resolves the rarity property of the subresource stored in weapon.

Contributions are welcome. See CONTRIBUTING.md before opening a pull request.

For major changes, open an issue first to discuss what you have in mind.

3. Khả năng ứng dụng và giới hạn

The YARD codebase may contain code generated with the help of LLMs, as contributors aren't required to disclose their use of AI tools. Every change is reviewed on its own merits regardless of how it was produced.

However, AI-generated text is not allowed in PR descriptions or issue bodies. Contributors must write these themselves, as reviewers should not be expected to spend time reviewing text that the contributor did not write.

If, for legal or ethical reasons, you can't use software that may contain AI-generated content, please refrain from using YARD or integrating it into your team's workflow.

This policy may be revised as the volume of PRs requiring review increases.

Số liệu repository có thể thay đổi; nên mở liên kết nguồn để kiểm tra README, giấy phép và trạng thái phát hành.

Nguồn tham khảo: Xem bài gốc

📆
Âm Lịch: 19/8
Bính Ngọ

📆 Lịch Âm Dương NsN

×
Hôm Nay - Thứ Ba
Âm Lịch: 19 Tháng 8
Năm Bính Ngọ
📌 Ngày Can Chi: Bính Ngọ
✨ Giờ Hoàng Đạo: Tý (23-1), Sửu (1-3), Mão (5-7), Ngọ (11-13), Thân (15-17), Dậu (17-19)
Vĩnh Phúc (Liên Bảo - Vĩnh Yên)
27°C
Nắng Đẹp
💧 79% | 💨 11 km/h
Hôm nay 34°
01/10 33°
02/10 32°
03/10 33°
04/10 29°