Started by SourOrange
on Mon, 08/19/2019 - 23:10
Topic category: User side tutorials
I am making a mod and need to add a drop to a block and want to make it so when a player breaks it it has a 1/150 chance to drop the item. how can i tell if the player breaks the block? or kills an entity?
maybe do it in rare item or if killed then give a chance then if yes palce item at entity
But how could i do that with mobs already in the game like creepers and skeletons?
just do this:
tigger on hit with weapon:
if not is event/target entity alive
do: (whater you wanna do)