Skip to content

Enchantment Level Set Event

To use this event use the following import:

groovy
import net.minecraftforge.event.enchanting.EnchantmentLevelSetEvent

Methods

groovy
int getLevel()
groovy
void setLevel(int arg0)
groovy
net.minecraft.item.ItemStack getItem()
groovy
net.minecraft.util.math.BlockPos getPos()
groovy
net.minecraft.world.World getWorld()
groovy
int getOriginalLevel()
groovy
int getEnchantRow()
groovy
int getPower()

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.