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