public class MCExplosion
extends java.lang.Object
implements crafttweaker.api.world.IExplosion
| Constructor and Description |
|---|
MCExplosion(net.minecraft.world.Explosion explosion) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAffectedBlockPositions() |
void |
doExplosionA() |
void |
doExplosionB(boolean spawnParticles) |
boolean |
equals(java.lang.Object o) |
java.util.List<crafttweaker.api.world.IBlockPos> |
getAffectedBlockPositions() |
crafttweaker.api.entity.IEntityLivingBase |
getExplosivePlacedBy() |
java.lang.Object |
getInternal() |
java.util.Map<crafttweaker.api.player.IPlayer,crafttweaker.api.world.IVector3d> |
getPlayerKnockbackMap() |
crafttweaker.api.util.Position3f |
getPosition() |
crafttweaker.api.world.IWorld |
getWorld() |
int |
hashCode() |
boolean |
onExplosionStart(crafttweaker.api.world.IWorld world) |
void |
setAffectedBlockPositions(java.util.List<crafttweaker.api.world.IBlockPos> affectedBlockPositions) |
public crafttweaker.api.world.IWorld getWorld()
getWorld in interface crafttweaker.api.world.IExplosionpublic crafttweaker.api.entity.IEntityLivingBase getExplosivePlacedBy()
getExplosivePlacedBy in interface crafttweaker.api.world.IExplosionpublic crafttweaker.api.util.Position3f getPosition()
getPosition in interface crafttweaker.api.world.IExplosionpublic java.util.List<crafttweaker.api.world.IBlockPos> getAffectedBlockPositions()
getAffectedBlockPositions in interface crafttweaker.api.world.IExplosionpublic void setAffectedBlockPositions(java.util.List<crafttweaker.api.world.IBlockPos> affectedBlockPositions)
setAffectedBlockPositions in interface crafttweaker.api.world.IExplosionpublic void clearAffectedBlockPositions()
clearAffectedBlockPositions in interface crafttweaker.api.world.IExplosionpublic java.util.Map<crafttweaker.api.player.IPlayer,crafttweaker.api.world.IVector3d> getPlayerKnockbackMap()
getPlayerKnockbackMap in interface crafttweaker.api.world.IExplosionpublic boolean onExplosionStart(crafttweaker.api.world.IWorld world)
onExplosionStart in interface crafttweaker.api.world.IExplosionpublic void doExplosionA()
doExplosionA in interface crafttweaker.api.world.IExplosionpublic void doExplosionB(boolean spawnParticles)
doExplosionB in interface crafttweaker.api.world.IExplosionpublic java.lang.Object getInternal()
getInternal in interface crafttweaker.api.world.IExplosionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object