Skip to content

Instantly share code, notes, and snippets.

@shadowfacts
Created August 24, 2015 13:25
Show Gist options
  • Save shadowfacts/c49b461d3bd9ef397419 to your computer and use it in GitHub Desktop.
Save shadowfacts/c49b461d3bd9ef397419 to your computer and use it in GitHub Desktop.
Events!
A block has been placed!
The event is:
net.minecraftforge.event.world.BlockEvent$PlaceEvent@4f530fe
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