Summon constructor
Summon(
- EntityType type, {
- TextComponent? name,
- bool? nameVisible,
- Map<
String, dynamic> ? nbt, - Location location = const Location.here(),
- bool? invulnerable,
- bool? persistent,
- bool? noAI,
- bool? silent,
- bool? gravity,
- bool? glowing,
- List<
Summon> ? passengers, - List<
Effect> ? effects, - List<
String> ? tags, - int? fire,
- bool? small,
- int? age,
- Rotation? rotation,
The summon class creates a new entity at a given location.
Implementation
Summon(
this.type, {
this.name,
this.nameVisible,
this.nbt,
this.location = const Location.here(),
this.invulnerable,
this.persistent,
this.noAI,
this.silent,
this.gravity,
this.glowing,
this.passengers,
this.effects,
this.tags,
this.fire,
this.small,
this.age,
this.rotation,
});