9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-25 09:59:20 +00:00

feat(entity): 避免使用默认颜色的潜影贝

This commit is contained in:
jhqwqmc
2025-04-01 07:42:56 +08:00
parent 207254537b
commit 624e00d3f4

View File

@@ -37,6 +37,7 @@ public class ShulkerHitBox extends AbstractHitBox {
this.interactionEntity = interactionEntity;
ShulkerData.Peek.addEntityDataIfNotDefaultValue(peek, this.cachedShulkerValues);
ShulkerData.Color.addEntityDataIfNotDefaultValue((byte) 0, this.cachedShulkerValues);
// ShulkerData.AttachFace.addEntityDataIfNotDefaultValue(DirectionUtils.toNMSDirection(direction), this.cachedShulkerValues);
ShulkerData.NoGravity.addEntityDataIfNotDefaultValue(true, this.cachedShulkerValues);
ShulkerData.Silent.addEntityDataIfNotDefaultValue(true, this.cachedShulkerValues);