添加TODO和注释

This commit is contained in:
Atsuishio 2025-07-09 17:15:25 +08:00 committed by Light_Quanta
parent bd14b981b1
commit 87064d0a71
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959
2 changed files with 3 additions and 0 deletions

View file

@ -257,6 +257,8 @@ public class Mk42Entity extends VehicleEntity implements GeoEntity, CannonEntity
return true;
}
//TODO 指示器能选择弹道后删掉这个
public boolean setTarget(ItemStack stack, boolean isDepressed) {
var parameters = stack.get(ModDataComponents.FIRING_PARAMETERS);
if (parameters == null) return false;

View file

@ -264,6 +264,7 @@ public class Mle1934Entity extends VehicleEntity implements GeoEntity, CannonEnt
return true;
}
//这个炮仰角太低只能用低伸弹道
public boolean setTarget(ItemStack stack, boolean isDepressed) {
var parameters = stack.get(ModDataComponents.FIRING_PARAMETERS);
if (parameters == null) return false;