Is there a way to get the name of a block that was put down, or get the name of the block after renaming a block? Any help would be appreciated. Thanks!
Wolfey Not the type of block, but the name itself. Like the name I gave it when I used an anvil to change the name.
baugh70 The displayName of the item's meta is what you're looking for. Code:java @EventHandler public void onPlace(BlockPlaceEvent e) { ItemStack item = new ItemStack(e.getBlock().getType()); item.getItemMeta().getDisplayName(); }