-
-
Save shadowfacts/c49b461d3bd9ef397419 to your computer and use it in GitHub Desktop.
Events!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A block has been placed! | |
The event is: | |
net.minecraftforge.event.world.BlockEvent$PlaceEvent@4f530fe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EventRegistry.registerHandler(Events.PlaceBlock, function(event) { | |
print("A block has been placed!"); | |
print("The event is:"); | |
print(event); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment