类 ShieldData
java.lang.Object
mod.chloeprime.gunsmithlib.common.gunpack_extension.shared.shield.ShieldData
- 从以下版本开始:
- 3.4.0
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明double格挡子弹的单侧范围(总范围 / 2), 单位为弧度。double格挡原版伤害的单侧范围(总范围 / 2), 单位为弧度。booleanbooleanstatic Optional<ShieldData> fromAttachment(AttachmentInfo attachInfo) static Optional<ShieldData> fromAttachment(net.minecraft.world.item.ItemStack stack) static Optional<ShieldData> static Optional<ShieldData> fromGun(net.minecraft.world.item.ItemStack stack)
-
构造器详细资料
-
ShieldData
public ShieldData()
-
-
方法详细资料
-
blockVanillaDamageAngle
public double blockVanillaDamageAngle()格挡原版伤害的单侧范围(总范围 / 2), 单位为弧度。 -
blockBulletDamageAngle
public double blockBulletDamageAngle()格挡子弹的单侧范围(总范围 / 2), 单位为弧度。 -
getCondition
-
disableShieldWhenReloading
public boolean disableShieldWhenReloading() -
canBeDisabledByAxes
public boolean canBeDisabledByAxes() -
fromGun
-
fromGun
-
fromAttachment
-
fromAttachment
-