xNuminousx
Verified Member
Anyone know any good tutorial (whether it's video or text) that can sort of teach the ~ways~ of the temp blocks? I'd like to learn how to mess with them when I get all my electricity up and running again.
Temp blocks are only a Pk thing? WaaatttMight not be any, as temp blocks is just PK exclusive thing. Though reading the sources of custom/stock abilities that use them would be a good starting step perhaps?
Very helpful thank you. I will definately try it out on my own when I am able to.TempBlocks represent temporary blocks placed by bending that should revert back to their original state eventually and drop the item of the original block. Note: Earthbendable blocks that have been earthbent are NOT tempblocks.
They are used to create a different block at a certain location and revert it later.
To create one, create a new instance of TempBlock. To the constructor you pass the material and data the new block should have, and the location of the block you wish to create the tempblock at. Then the BlockState of the original block will be saved, and the block will be replaced with the material and data you specified.
Assuming you're doing this in an ability class, you're gonna have to save this instance somewhere. Most commonly it's saved in some Collection because most of the time you're gonna create a number of tempblocks. So when you create one, save it to a collection.
Then when it's time to remove the temblocks (for example, when the ability ends), loop through your collection and call 'revert();' on each instance. Then clear the collection. That's it!
Surely you refer only to RaiseEarth, Collapse and EarthTunnel? Earthblast, earthsmash, and shockwave are temps, because they disappear immediately.TempBlocks represent temporary blocks placed by bending that should revert back to their original state eventually and drop the item of the original block. Note: Earthbendable blocks that have been earthbent are NOT tempblocks.
Those both use the same form of temp block I believe. Only, one disappears at a different time than the others.Surely you refer only to RaiseEarth, Collapse and EarthTunnel? Earthblast, earthsmash, and shockwave are temps, because they disappear immediately.
Blocks that revert to their original location and don't dissapear are not tempblocks. So I'm refering to raiseearth, collapse, earthgrab, etcFinn said earthbent blocks are not temps.
Oh I get it. Those abilities are moving the blocks rather than creating new ones?Blocks that revert to their original location and don't dissapear are not tempblocks. So I'm refering to raiseearth, collapse, earthgrab, etc
Correct. Those blocks are also bendable, which shows they're normal blocks.Oh I get it. Those abilities are moving the blocks rather than creating new ones?
correct, replacing earthbendable blocks with air is also a part of earth movement. So the when you launch an earthblast an a hole appears, that's also not a tempblock.What about earthtunnel. They're non-temps right?
YesWould it be safe to say Earth is generally an example of non-tempblocks where water is an example of tempblock? Since most Earth moves revert where most water moves don't.