public static boolean isShieldBlock(IBlockAccess IBlock, Block block,int x, int y, int z)
{
Block block1 = IBlock.getBlock(x, y, z);
return !ShieldCalcCube.isShield(null, x, y, z) && block1 == ModBlocks.blockShieldVisualization;
}
1. try to give it a world parameter so you can use world#getBlock
2. in the return statement change it to
return !ShieldCalcCube.isShield(null, x, y, z) && block1 instanceof BlockShieldVisualization;
3. do all your block-editing on serverside only
Now also, since I don't have the time to recreate this one in my own IDE, figure out the following by yourself:
When the block places the shield, does it change every block in your radius or only air blocks? If it does that might be the problem you have to fix.
If not, take a look again at the removeShield method in your ShieldCalcCube class
1
5
A log that would spawn in swamps and forests. spawning laying on its side at 3-6 per 8 (or more) chunks.
Would be black,brown and, green.
Could increase speed of mushrooms spawning on it by 15%+.
Also could be used to make old/abandoned looking houses.
Could also spawn as a rotted tree (should it drop saplings :s )
with dead leaves.
It would spawn similarly to a oak tree.
1
I pointed out the Cerroz's red herring statement, if you cannot see that then you are blind.discussing it more will bringing us off topic.
Thats the point if it was useless why would I suggest it? it wouldn't be faster then running though.
same ^
All you are say is "oh red herring" to invalidate me.
What you should be doing is telling me how a second flight potion=trolling on servers, you have not answered it.
3
A flight potion.
It would last for 5 seconds(10 with a emerald), it can stack up to 20 seconds)
You would move at slightly faster than walking speed.
You would ascend at 3 blocks a second.
It would be made from a combination of a ghast tear and a speed potion
You would hover if in the air but fall when it wears out.
Could potentially be used in place of the bucket to safe yourself from fall damage/lava.
It would still be harder to mine while flying.
If its too op in your opinion feel free to suggest what you would change.
Only thing I see this affecting negatively is the anti cheat thing on servers. maybe.
1
Maybe it can spawn in forests sideways /fallen and rarely standing with dead leaves?
Maybe have stuff similar to the particles that come out of bedrock?
Warning I suck at making textures
5
or it could do nothing and just look moldy .(for people who want to build old looking houses)