So I wanted The Ender Dragon to eighther be still,or stay in a certain area when summoned.I tried giving it slowness 127 but that didn't work,and I tried leashing it but it instantly broke.Is there anything else I can try?
So I wanted The Ender Dragon to eighther be still,or stay in a certain area when summoned.I tried giving it slowness 127 but that didn't work,and I tried leashing it but it instantly broke.Is there anything else I can try?
Firstly, slowness does not have an affect on mobs due to a bug. You would have to edit the movementSpeed attribute, which is much more accurate anyway.
Secondly, you cannot immobilize the ender dragon through any means, including the attribute. Because it's flying, no movement speed modification can be used to prevent it from moving. As well, leashes don't work as intended on flying mobs.
This command can usually be used to prevent any mob from moving. However, the EnderDragon is actually multiple entities and moves differently from every other mob, so modifying its attributes will not work.
Firstly, slowness does not have an affect on mobs due to a bug. You would have to edit the movementSpeed attribute, which is much more accurate anyway.
Secondly, you cannot immobilize the ender dragon through any means, including the attribute. Because it's flying, no movement speed modification can be used to prevent it from moving. As well, leashes don't work as intended on flying mobs.
Well that was surprising! Been messing around with this and the minecart cannot be pushed. It's also fairly finicky trying to get the minecart moving on tracks, but once it does it can follow most tracks you set (though mobGriefing has to be disabled). Killing the enderdragon will have it go through its death animation while remaining in the minecart, spawning the end portal around 5 blocks above it.
I guess that can make for some scripted scenes, though disposing of the dragon would be difficult. The upcoming patch should provide us with new commands for editing pre-existing entities, so that may be easily do-able in the future.
Well that was surprising! Been messing around with this and the minecart cannot be pushed. It's also fairly finicky trying to get the minecart moving on tracks, but once it does it can follow most tracks you set (though mobGriefing has to be disabled). Killing the enderdragon will have it go through its death animation while remaining in the minecart, spawning the end portal around 5 blocks above it.
I guess that can make for some scripted scenes, though disposing of the dragon would be difficult. The upcoming patch should provide us with new commands for editing pre-existing entities, so that may be easily do-able in the future.
I also have a question. Do you think it is possible to detect tile-entity updates right now, and do you think it will be made possible/easier in the next update(s)?
I also have a question. Do you think it is possible to detect tile-entity updates right now, and do you think it will be made possible/easier in the next update(s)?
With command blocks? As far as I've observed, the only 'update' check that can be made is detecting when a tile entity no longer matches the /testforblock. For example, if you were checking for an empty chest, the /testforblock would successfully find the block until a player puts an item into it. It would take another command block, but you could also then detect when the chest has been emptied again.
Unfortunately, this does not produce a signal each time the chest is updated, only when it doesn't match the original NBT tags. So if you place one item in the chest, you'll get a signal (or lack of a signal), but placing any further items in will not produce a signal.
There may be a way to use a trapped chest, but I can't seem to find a way to detect if it's been opened (especially without a second person). The chest and trapped chest require different IDs when attempting to detect them, but there doesn't seem to be any extra tags or other accessible data for trapped chests indicating that they're opened. It seems this functionality is handled in the base code.
With command blocks? As far as I've observed, the only 'update' check that can be made is detecting when a tile entity no longer matches the /testforblock. For example, if you were checking for an empty chest, the /testforblock would successfully find the block until a player puts an item into it. It would take another command block, but you could also then detect when the chest has been emptied again.
Unfortunately, this does not produce a signal each time the chest is updated, only when it doesn't match the original NBT tags. So if you place one item in the chest, you'll get a signal (or lack of a signal), but placing any further items in will not produce a signal.
There may be a way to use a trapped chest, but I can't seem to find a way to detect if it's been opened (especially without a second person). The chest and trapped chest require different IDs when attempting to detect them, but there doesn't seem to be any extra tags or other accessible data for trapped chests indicating that they're opened. It seems this functionality is handled in the base code.
In 1.8, there will be a new command called "/blockdata", which will be able to directly edit any block, including tile entities. Currently I cannot say if this will be able to do anything relating to detecting block updates, but here is the source for that: http://www.reddit.co...protect/cdxffiw
I wasn't thinking about chests. I was thinking about item frames. Especially with maps
I tried slowness 127 and 7,10 and 12
Firstly, slowness does not have an affect on mobs due to a bug. You would have to edit the movementSpeed attribute, which is much more accurate anyway.
Secondly, you cannot immobilize the ender dragon through any means, including the attribute. Because it's flying, no movement speed modification can be used to prevent it from moving. As well, leashes don't work as intended on flying mobs.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
This command can usually be used to prevent any mob from moving. However, the EnderDragon is actually multiple entities and moves differently from every other mob, so modifying its attributes will not work.
Link Removed
Link Removed
You can summon the ender dragon in a minecart
Well that was surprising! Been messing around with this and the minecart cannot be pushed. It's also fairly finicky trying to get the minecart moving on tracks, but once it does it can follow most tracks you set (though mobGriefing has to be disabled). Killing the enderdragon will have it go through its death animation while remaining in the minecart, spawning the end portal around 5 blocks above it.
I guess that can make for some scripted scenes, though disposing of the dragon would be difficult. The upcoming patch should provide us with new commands for editing pre-existing entities, so that may be easily do-able in the future.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
I also have a question. Do you think it is possible to detect tile-entity updates right now, and do you think it will be made possible/easier in the next update(s)?
With command blocks? As far as I've observed, the only 'update' check that can be made is detecting when a tile entity no longer matches the /testforblock. For example, if you were checking for an empty chest, the /testforblock would successfully find the block until a player puts an item into it. It would take another command block, but you could also then detect when the chest has been emptied again.
Unfortunately, this does not produce a signal each time the chest is updated, only when it doesn't match the original NBT tags. So if you place one item in the chest, you'll get a signal (or lack of a signal), but placing any further items in will not produce a signal.
There may be a way to use a trapped chest, but I can't seem to find a way to detect if it's been opened (especially without a second person). The chest and trapped chest require different IDs when attempting to detect them, but there doesn't seem to be any extra tags or other accessible data for trapped chests indicating that they're opened. It seems this functionality is handled in the base code.
In 1.8, there will be a new command called "/blockdata", which will be able to directly edit any block, including tile entities. Currently I cannot say if this will be able to do anything relating to detecting block updates, but here is the source for that: http://www.reddit.com/r/Minecraft/comments/1sgkec/twitter_jeb_a_way_to_lockprotect/cdxffiw
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
I wasn't thinking about chests. I was thinking about item frames. Especially with maps
Oh, item frames and maps are entities so don't fall into either command of /testforblock or /blockdata. There might be commands in 1.8 for entities, but there is no information other than that. Source for that: http://www.reddit.com/r/Minecraft/comments/1t6qn7/i_am_dinnerbone_a_minecraft_developer_ask_me/ce51s1r?context=3
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/