Display.text constructor
Display.text(
- Location location,
- TextComponent? text, {
- Map<
String, dynamic> ? nbt, - int? age,
- List<
String> ? tags, - Time? interpolationDuration,
- Time? startInterpolation,
- double? shadowRadius,
- double? shadowStrength,
- double? viewRange,
- BillboardType? billboardType,
- TextAlignment? alignment,
- int? textOpacity,
- bool? seeThrough,
- int? lineWidth,
- Transformation? transformation,
Spawns an diplay entity used to display and animate text in the world.
Implementation
Display.text(
Location location,
this.text, {
Map<String, dynamic>? nbt,
int? age,
List<String>? tags,
this.interpolationDuration,
this.startInterpolation,
this.shadowRadius,
this.shadowStrength,
this.viewRange,
this.billboardType,
this.alignment,
this.textOpacity,
this.seeThrough,
this.lineWidth,
this.transformation,
}) : item = null,
block = null,
itemDisplay = null,
super(
Entities.text_display,
location: location,
nbt: nbt,
age: age,
tags: tags,
);