Skull skull = (Skull) block; //^ This line is causing a ClassCastException: class org.bukkit.craftbukkit.v1_16_R2.block.CraftBlock cannot be cast...
My code to get heads looks like this @EventHandler public void onBlockBreak(BlockBreakEvent e) { Block block = e.getBlock();...
Yes.
So I have this code that sets the player head to a specific texture using Mojang's GameProfile. public ItemStack getSkull(String username, UUID...
@KarimAKL After using the code in that thread, along with another piece of code to return the head, it looks like this: public ItemStack...
For my plugin, I need to get a custom texture, which is represented by a custom head. For this, I used ItemStack Item = new...
I would like to make a summoned block of stone have different properties. How can I make it so that when this block breaks, an event gets...
Separate names with a comma.