So I was playing with my friends on a modded server (Magma) and they wanted to steal some items from a dragon... This, of course, didn't get as planned because seemingly sleeping monster woke up and set everything on fire. One friend's stuff didn't burn because one mod - erebus - adds graves to the game but second player wasn't that lucky - dragon broke his tomb and all his items are gone now.
And here is a question: how can I make graves indestructible only for dragons? I know it is quite unique situation so if it is impossible to script I would like the tombs to be like an ender dragon egg - you can mine them only using torch.
Unless there is a configuration file with a list of blocks they can't destroy you'd need to alter the mod's code to change the types of blocks that can be destroyed, and this is not the same as actually mining a block - when people talk about "breaking" bedrock they aren't actually breaking it, only replacing it with a different block. For example, this is the code from the Ender Dragon which allows it to break nearly any block it passes through, completely unrelated to the player mining blocks code, or the explosion code, or any of various other ways blocks can be broken/removed/replaced (all the bedrock breaking bugs exist because checks to exclude it from being replaced only exist in certain places; remove it from the code shown and the Ender Dragon will destroy it):
That said, if they coded the mod properly (included a check for the mobGriefing gamerule, as seen above) you should be able to disable mob griefing (though this will affect everything, not just the dragon). Otherwise, the mod itself may need to be modified in code; you could ask the creator if there is a way to configure it (I have no idea which mod you may be using; searching for "minecraft mod magma dragon" didn't turn up much that sounded relevant).
Thanks!
I'm using the Ice and Fire mod for dragons btw
Can you disable MobGriefing on only one item actually?
If this can help, here is grave block's id: erebus:block_of_bones
So I was playing with my friends on a modded server (Magma) and they wanted to steal some items from a dragon... This, of course, didn't get as planned because seemingly sleeping monster woke up and set everything on fire. One friend's stuff didn't burn because one mod - erebus - adds graves to the game but second player wasn't that lucky - dragon broke his tomb and all his items are gone now.
And here is a question: how can I make graves indestructible only for dragons?
I know it is quite unique situation so if it is impossible to script I would like the tombs to be like an ender dragon egg - you can mine them only using torch.
Thanks in advance,
Jaro975
Unless there is a configuration file with a list of blocks they can't destroy you'd need to alter the mod's code to change the types of blocks that can be destroyed, and this is not the same as actually mining a block - when people talk about "breaking" bedrock they aren't actually breaking it, only replacing it with a different block. For example, this is the code from the Ender Dragon which allows it to break nearly any block it passes through, completely unrelated to the player mining blocks code, or the explosion code, or any of various other ways blocks can be broken/removed/replaced (all the bedrock breaking bugs exist because checks to exclude it from being replaced only exist in certain places; remove it from the code shown and the Ender Dragon will destroy it):
That said, if they coded the mod properly (included a check for the mobGriefing gamerule, as seen above) you should be able to disable mob griefing (though this will affect everything, not just the dragon). Otherwise, the mod itself may need to be modified in code; you could ask the creator if there is a way to configure it (I have no idea which mod you may be using; searching for "minecraft mod magma dragon" didn't turn up much that sounded relevant).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Thanks!
I'm using the Ice and Fire mod for dragons btw
Can you disable MobGriefing on only one item actually?
If this can help, here is grave block's id: erebus:block_of_bones