添加TODO
This commit is contained in:
parent
e5eff31afc
commit
902580798a
2 changed files with 3 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue