net.minecraft.entity.Entity.canExplosionDestroyBlock()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(124)

本文整理了Java中net.minecraft.entity.Entity.canExplosionDestroyBlock()方法的一些代码示例,展示了Entity.canExplosionDestroyBlock()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Entity.canExplosionDestroyBlock()方法的具体详情如下:
包路径:net.minecraft.entity.Entity
类名称:Entity
方法名:canExplosionDestroyBlock

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);

相关文章

Entity类方法