amulet.api.chunk.entity_list
module¶
- class amulet.api.chunk.entity_list.EntityList(entities=())[source]¶
Bases:
ChunkList
A custom implementation of the list class.
It can only store
Entity
instances.- __init__(entities=())[source]¶
Construct an
EntityList
.
- index(value[, start[, stop]]) integer -- return first index of value. [source]¶
Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
- pop([index]) item -- remove and return item at index (default last). [source]¶
Raise IndexError if list is empty or index is out of range.