ContainerInventory
基本信息
| 属性 | 值 |
|---|---|
| 类名 | pl.asie.lib.block.ContainerInventory |
| 类型 | class extends Container |
| 方法数 | 4 |
| 源码规模 | 122 行 |
| 启用版本 | 1.7.10 |
功能
Container 基类:实现标准的「玩家背包 27 + 快捷栏 9」区段布局计算。
实现要点
- 仅 4 个 public 方法,122 行几乎全是布局坐标计算。
ContainerBase与MagCardContainer(OpenSecurity 侧的类不属本 mod)等都继承它。
相关条目
- ContainerBase - 子类
- GuiSpecialContainer - 配套 GUI