Lesson goals
完成这节课后
- 理解 BlockState 与 Property 的分工
- 使用 BooleanProperty 保存开关状态
- 连接 Java、blockstates、模型与贴图
本课作品可右键开关的 Simon 能量灯
Courseware
在线阅读课件
课件基于 simon-minecraft-template-1.20,并包含 IntelliJ 工程截图、完整代码、测试与排错。
Lesson goals
Courseware
课件基于 simon-minecraft-template-1.20,并包含 IntelliJ 工程截图、完整代码、测试与排错。