ImpactTntEntity

constructor(world: World, x: Double, y: Double, z: Double, velocity: Vec3d, owner: LivingEntity?)(source)

Creates a new ImpactTntEntity.

Parameters

world

The world to create the TNT in

x

The X coordinate of the TNT to spawn at

y

The Y coordinate of the TNT to spawn at

z

The Z coordinate of the TNT to spawn at

velocity

The velocity of the spawned TNT

owner

The entity that caused the TNT to ignite or null, if it's not caused by an entity


constructor(entityType: EntityType<ImpactTntEntity>, world: World)(source)