Diese Klasse importieren

Link to diese-klasse-importieren

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.loot.LootContext;
NameTypeHas GetterHas SetterBeschreibung
Name
blockEntity
Type
BlockEntity
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
blockState
Type
BlockState
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
damageSource
Type
DamageSource
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
directKillerEntity
Type
Entity
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
explosionRadius
Type
float
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
killerEntity
Type
Entity
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
lastDamagePlayer
Type
Player
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
level
Type
ServerLevel
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
luck
Type
float
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
origin
Type
Vec3
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
random
Type
Random
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
thisEntity
Type
Entity
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
tool
Type
IItemStack
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided