镜像供应器同步智能阻挡

This commit is contained in:
GaLi 2026-04-21 11:03:23 +08:00
parent edb452eb38
commit 1264651160

View File

@ -438,12 +438,9 @@ public class MirrorPatternProviderBlockEntity extends PatternProviderBlockEntity
return !Objects.equals(this.getCustomName(), getCustomName(master))
|| mirrorLogic.getPriority() != masterLogic.getPriority()
|| mirrorLogic.getConfigManager().getSetting(Settings.BLOCKING_MODE)
!= masterLogic.getConfigManager().getSetting(Settings.BLOCKING_MODE)
|| mirrorLogic.getConfigManager().getSetting(Settings.PATTERN_ACCESS_TERMINAL)
!= masterLogic.getConfigManager().getSetting(Settings.PATTERN_ACCESS_TERMINAL)
|| mirrorLogic.getConfigManager().getSetting(Settings.LOCK_CRAFTING_MODE)
!= masterLogic.getConfigManager().getSetting(Settings.LOCK_CRAFTING_MODE)
|| !Objects.equals(
mirrorLogic.getConfigManager().exportSettings(),
masterLogic.getConfigManager().exportSettings())
|| supportsPushDirectionState(master)
&& this.getBlockState().getValue(PatternProviderBlock.PUSH_DIRECTION) != getPushDirection(master);
}