EngineHub / EngineHub/CommandHelper

all_tile_entities() and tile_entity_type addition?

Abierto
#1,141 3 comentarios 0 reacciones 0 asignados Ver en GitHub
feature request
Lenguaje dominante
Java
Estrellas
128
Forks
70
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

CMDHELPER-3146 - Reported by Raven0

Any possibility for these to be added, at least just for grabbing info? Better than to scan full chunk to see if X tile entity(like spawner,dispenser, dropper etc) is in it.

Should function same as all_entities() and entity_type() functions, only you would get list of tile entities in the first one, and by using it's ID(if all_tile_entities() would return that), you get it's type in other function.

getTileEntities() method already exists in spigot API, but not really sure about others.

Related spigot libraries:
Chunk: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Chunk.html
BlockState: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/BlockState.html

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.