Class TileDropsEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.TileDropsEvent
This event is fired whenever a
Tile is broken in the world. The list
can be modified to change the drops of the tile. Cancelling the event will
stop the tile from dropping anything.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTileDropsEvent(Tile tile, List<ItemInstance> drops, IWorld world, int x, int y, TileLayer layer, Entity destroyer) -
Method Summary
-
Field Details
-
tile
-
drops
-
world
-
x
public final int x -
y
public final int y -
layer
-
destroyer
-
-
Constructor Details
-
TileDropsEvent
-