diff --git a/src/main/java/com/atsuishio/superbwarfare/client/renderer/entity/Type63Renderer.java b/src/main/java/com/atsuishio/superbwarfare/client/renderer/entity/Type63Renderer.java index 0bb8478e5..bdda6eee3 100644 --- a/src/main/java/com/atsuishio/superbwarfare/client/renderer/entity/Type63Renderer.java +++ b/src/main/java/com/atsuishio/superbwarfare/client/renderer/entity/Type63Renderer.java @@ -71,6 +71,8 @@ public class Type63Renderer extends GeoEntityRenderer { bone.setRotZ(-Mth.lerp(partialTick, animatable.turretYRotO, animatable.getTurretYRot()) * 6); } + //TODO 正确实现每一个格子有物品时显示一发炮弹模型 + for (int i = 0; i < 11; i++) { var items = animatable.getItemStacks(); if (name.equals("shell" + i)) { diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Type63Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Type63Entity.java index c1efc70fc..b1fa65863 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Type63Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Type63Entity.java @@ -6,7 +6,6 @@ import com.atsuishio.superbwarfare.entity.OBBEntity; import com.atsuishio.superbwarfare.entity.vehicle.base.ContainerMobileVehicleEntity; import com.atsuishio.superbwarfare.init.ModDamageTypes; import com.atsuishio.superbwarfare.init.ModSounds; -import com.atsuishio.superbwarfare.item.SmallShellItem; import com.atsuishio.superbwarfare.tools.CustomExplosion; import com.atsuishio.superbwarfare.tools.OBB; import com.atsuishio.superbwarfare.tools.ParticleTool; @@ -289,7 +288,7 @@ public class Type63Entity extends ContainerMobileVehicleEntity implements GeoEnt @Override public boolean canPlaceItem(int slot, @NotNull ItemStack stack) { - return stack.getItem() instanceof SmallShellItem; + return true; } @Override