EngineHub / EngineHub/CommandHelper

all_tile_entities() and tile_entity_type addition?

オープン
#1,141 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature request
主要言語
Java
スター
128
フォーク
70
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。