add channel desc and channel indicator item

Signed-off-by: Glease <[email protected]>
This commit is contained in:
Glease committed 2025-04-08 14:32:10 +08:00
1 parent 538459eab5
commit df96277bd7
15 files changed
+788 -140

No files matched your search

@@ -395,7 +395,7 @@ public interface IStructureDefinition<T> {
basePositionC,
ignoreBlockUnloaded((e, w, x, y, z, a, b, c) -> {
e.spawnHint(object, world, x, y, z, trigger);
if (ChannelDataAccessor.hasSubChannel(trigger, "show_error")
if (ChannelDataAccessor.hasSubChannel(trigger, StructureLibAPI.CHANNEL_SHOW_ERROR)
&& !e.couldBeValid(object, world, x, y, z, trigger)) {
StructureLibAPI.markHintParticleError(StructureLib.getCurrentPlayer(), world, x, y, z);
}