添加TODO

This commit is contained in:
Atsuishio 2025-07-13 14:41:14 +08:00 committed by Light_Quanta
parent e5eff31afc
commit 902580798a
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959
2 changed files with 3 additions and 2 deletions

View file

@ -71,6 +71,8 @@ public class Type63Renderer extends GeoEntityRenderer<Type63Entity> {
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)) {

View file

@ -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