Bossbar class
- Inheritance
-
- Object
- Widget
- RestActionAble
- Bossbar
Constructors
- Bossbar(String id, {String? name, BossbarType type = BossbarType.add})
Properties
- called ↔ bool
-
Contains the Information, if this RestAction is already called (and can't be called again)
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
-
modifiers
↔ Map<
String, String> -
getter/setter pair
- name ↔ String?
-
getter/setter pair
-
nameTexts
↔ List<
TextComponent> ? -
getter/setter pair
- option ↔ BossbarOption?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → BossbarType
-
final
-
writable
↔ List<
Widget> ? -
The writable list the RestAction writes it's contents on
getter/setter pairinherited
Methods
-
copyWith(
{BossbarType? type, String? id}) → Bossbar -
generate(
Context context) → Widget? -
override
-
get(
BossbarOption option) → Bossbar -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queue(
[List< Widget> ? writable]) → void -
Execute this method to add this to the WidgetList (can use default list or as parameter given list)
This method can only be executed once, if it is executed multiple times you will get an Error. You can read out if it is already executed in the boolean Called
Example for a queue method:
inherited
-
remove(
) → Bossbar -
set(
{String? name, List< TextComponent> ? nameTexts, Color? color, String? style, int? value, int? max, bool? visible, Entity? players}) → Bossbar -
show(
Entity player) → Bossbar -
storeResult(
Widget w, BossbarOption option, {bool useSuccess = false}) → Group -
toMap(
) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited