Ok, I tried making it replace itself with bedrock only and when I manually placed it down it did that. But when I entered my dimension, it was still all ice.
But when I entered my dimension, it was still all ice.
Have you been just re-entering the same loaded dimension?
Of course it'll still be ice! The blocks only change when they're added to the world! You'll need to either fly out to new chunks, or re-create the dimension.
I flew around the place for like 5 minutes. Its all Ice. I made sure all the blocks, the top layer, the filler layer, and the underground layer are all the placeholder block. I created a new world, entered my dimension, it was still ice. Again, I flew around for 5 minutes, its all ice. No ID conflicts, if that was the issue, Ice wouldn't be in the game or my placeholder block wouldn't be in the game. Both are there, so that's not the issue. Idk whats going on.
Very strange. Have you tried generating the dimension with a vanilla block instead that's not ice? Just to check that the issue isn't the way you've setup your dimension?
Okay so something's up with your blocks only. You'll have to do some digging around your code, possibly in the way you register them or something and see if anything doesn't look right.
[p]Hello again, [/p]
[p]So after a while, I managed to get my blocks to spawn in my dimension, but their not getting replaced immedietly.[/p]
[p]I have override commands for these methods: [/p]
onPostBlockPlaced[/p]
onBlockAdded[/p]
onBlockPlacedBy[/p]
onBlockPlaced[/p]
What method would I override to make them replace themselves when they spawn in a biome / dimension?[/p]
I'm guessing you're using MC 1.7.10? Because there's a lot of old things in your classes... so whatever I suggest may or may not work.
I created a simple block which replaces itself when added to the world. It works perfectly fine when being placed my a player, and should work in world generation too. I looked into the Block#onBlockAdded method which I override to make it work, and it's called by World#setBlockState so it should get called on world generation.
Ok, I tried making it replace itself with bedrock only and when I manually placed it down it did that. But when I entered my dimension, it was still all ice.
-ViralVillager_YT
Have you been just re-entering the same loaded dimension?
Of course it'll still be ice! The blocks only change when they're added to the world! You'll need to either fly out to new chunks, or re-create the dimension.
Ok, I tried doing the bedrock idea like you said, the dimension is still Ice.
-ViralVillager_YT
Did you make sure you were loading new chunks? Something must be wrong somewhere and you're setting it to ice instead.
I flew around the place for like 5 minutes. Its all Ice. I made sure all the blocks, the top layer, the filler layer, and the underground layer are all the placeholder block. I created a new world, entered my dimension, it was still ice. Again, I flew around for 5 minutes, its all ice. No ID conflicts, if that was the issue, Ice wouldn't be in the game or my placeholder block wouldn't be in the game. Both are there, so that's not the issue. Idk whats going on.
-ViralVillager_YT
Very strange. Have you tried generating the dimension with a vanilla block instead that's not ice? Just to check that the issue isn't the way you've setup your dimension?
Ok, I tried making the main block an ore from my mod with no fancy code, and for some weird reason, there was potato plants everywhere in the air!
I tried doing a bunch of vanilla blocks and those worked fine. So the modded blocks are causing the issue.
-ViralVillager_YT
Okay so something's up with your blocks only. You'll have to do some digging around your code, possibly in the way you register them or something and see if anything doesn't look right.
[p]So after a while, I managed to get my blocks to spawn in my dimension, but their not getting replaced immedietly.[/p]
[p]I have override commands for these methods: [/p] onPostBlockPlaced[/p] onBlockAdded[/p] onBlockPlacedBy[/p] onBlockPlaced[/p]
What method would I override to make them replace themselves when they spawn in a biome / dimension?[/p]
-ViralVillager_YT
Hey heres my block class:
https://pastebin.com/guifXrg2
-ViralVillager_YT
Hello? Can someone help me with this one last part of my problem?
I managed to get my blocks to spawn in my dimension, but their not getting replaced immedietly.
I have override commands for these methods:
onPostBlockPlaced
onBlockAdded
onBlockPlacedBy
onBlockPlaced
What method would I override to make them replace themselves when they spawn in a biome / dimension?
Here's my block class:
https://pastebin.com/guifXrg2
-ViralVillager_YT
I'm guessing you're using MC 1.7.10? Because there's a lot of old things in your classes... so whatever I suggest may or may not work.
I created a simple block which replaces itself when added to the world. It works perfectly fine when being placed my a player, and should work in world generation too. I looked into the Block#onBlockAdded method which I override to make it work, and it's called by World#setBlockState so it should get called on world generation.
Here's the code for it: (Told you it was simple)
https://github.com/thebrightspark/TestMod/blob/master/src/main/java/brightspark/testmod/block/BlockRandom.java
I'm using 1.6.4. So... i dont think its gonna work.
-ViralVillager_YT
I just finished my mod! Check it out! https://minecraft.curseforge.com/projects/mineralcraft-for-1-6-4/files
-ViralVillager_YT