Importare la Classe

Link to importare-la-classe

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;
NomeTipoHa GetterHa Setter
Nome
blockEntity
Tipo
BlockEntity?
Ha Getter
Ha Setter
no
Nome
blockState
Tipo
BlockState?
Ha Getter
Ha Setter
no
Nome
damageSource
Tipo
DamageSource?
Ha Getter
Ha Setter
no
Nome
directKillerEntity
Tipo
Entity?
Ha Getter
Ha Setter
no
Nome
explosionRadius
Tipo
float
Ha Getter
Ha Setter
no
Nome
killerEntity
Tipo
Entity?
Ha Getter
Ha Setter
no
Nome
lastDamagePlayer
Tipo
Player?
Ha Getter
Ha Setter
no
Nome
level
Tipo
ServerLevel
Ha Getter
Ha Setter
no
Nome
luck
Tipo
float
Ha Getter
Ha Setter
no
Nome
origin
Tipo
Vec3?
Ha Getter
Ha Setter
no
Nome
random
Tipo
Random
Ha Getter
Ha Setter
no
Nome
thisEntity
Tipo
Entity?
Ha Getter
Ha Setter
no
Nome
tool
Tipo
IItemStack
Ha Getter
Ha Setter
no