---
# System prepended metadata

title: 各物件的資料結構
tags: [' MCEA', content, ' technology']

---

---
title: 各物件的資料結構
tags: content, MCEA, technology
---


# 資料結構

```java
儲存實體：ArrayList <T extend Entity>
儲存玩家：ArrayList <ServerPlayerEntity>

儲存function：ImmutableHashMap
儲存scoreboard：HashSet <ScoreObjective>
儲存scoreboard的username：HashMap <String, HashMap <ScoreObjective, Score> >
儲存teams：HashSet

(請注意：記分板的username與player-list的username不同，應當有所區分)
```
