Skip to content

Harvest Drops Event

To use this event use the following import:

groovy
import net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent

Sub-Classes

This event extends the following events and can use all their methods and fields:
BlockEvent

Methods

groovy
void setDropChance(float arg0)
groovy
java.util.List getDrops()
groovy
float getDropChance()
groovy
int getFortuneLevel()
groovy
boolean isSilkTouching()
groovy
net.minecraft.entity.player.EntityPlayer getHarvester()

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.