本文整理了Java中net.minecraft.entity.Entity.canExplosionDestroyBlock()
方法的一些代码示例,展示了Entity.canExplosionDestroyBlock()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Entity.canExplosionDestroyBlock()
方法的具体详情如下:
包路径:net.minecraft.entity.Entity
类名称:Entity
方法名:canExplosionDestroyBlock
暂无
代码示例来源:origin: Darkhax-Minecraft/Bookshelf
if (f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.world, blockpos, affectedState, f))) {
set.add(blockpos);
代码示例来源:origin: ValkyrienWarfare/Valkyrien-Warfare-Revamped
if (f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.worldObj, blockpos, iblockstate, f))) {
set.add(blockpos);
代码示例来源:origin: PrinceOfAmber/Cyclic
f -= (f2 + 0.3F) * 0.3F;
if (f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.world, blockpos, iblockstate, f))) {
set.add(blockpos);
代码示例来源:origin: PrinceOfAmber/Cyclic
f -= (f2 + 0.3F) * 0.3F;
if (f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.world, blockpos, iblockstate, f))) {
set.add(blockpos);
代码示例来源:origin: ValkyrienWarfare/Valkyrien-Warfare-Revamped
if (f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.worldObj, blockpos, iblockstate, f))) {
set.add(blockpos);
代码示例来源:origin: Alex-the-666/Ice_and_Fire
if (f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.worldObj, blockpos, iblockstate, f)) && iblockstate.getBlock().canEntityDestroy(iblockstate, this.worldObj, blockpos, this.exploder)) {
set.add(blockpos);
代码示例来源:origin: Alex-the-666/Ice_and_Fire
if (f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.worldObj, blockpos, iblockstate, f)) && iblockstate.getBlock().canEntityDestroy(iblockstate, this.worldObj, blockpos, this.exploder)) {
set.add(blockpos);
代码示例来源:origin: Alex-the-666/Ice_and_Fire
if (f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.worldObj, blockpos, iblockstate, f)) && iblockstate.getBlock().canEntityDestroy(iblockstate, this.worldObj, blockpos, this.exploder)) {
set.add(blockpos);
代码示例来源:origin: Alex-the-666/Ice_and_Fire
if (f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.worldObj, blockpos, iblockstate, f)) && iblockstate.getBlock().canEntityDestroy(iblockstate, this.worldObj, blockpos, this.exploder)) {
set.add(blockpos);
内容来源于网络,如有侵权,请联系作者删除!