Started by
braelin777
on
Topic category: Help with Minecraft modding (Java Edition)
Hey guys me again... yeah this time I'm having a major problem with my dimensions. So the first 3 dimensions in my mod are "island" dimensions as you can see, but theres a problem... everytime I make a new world, it creates a new seed as I want it to, but all 3 dimensions share the same exact seed. This is a problem lol. I want every dimension to generate its own terrain. The floating tree problem I was having (and still am), I'm putting on the back burner because I really need this fixed lol. I'm using mcreator 2020.5 (only so I can make a mod for 1.15.2) but yeah.. anyone know how to fix this? Thanks so much in advance.
The only way I can see this maybe being fixed is if you made each dimension into a separate mod
anyone? please
Did you make sure your custom dimension had custom biomes?
yes
Well, there's a few ways to go about this. The first one is to probably spawn the player in different locations each time they enter, like the original spawn point for dimension A is 0, 0 but you spawn at 1500, 1500 in dimension B, etc. The second way is to probably add a few duplicates of a biome in the same dimension to change the way it generates, though I don't know if this method will work so you may have to test it. Those are the only two ways I can think of.
if i change the player spawn upon entering the portal, could i make the portal move too? bc the player then wouldn’t be able to leave.. also if i change it to a random x and z value, since theyre floating island dimensions, it could spawn them over void..
bro?
Sorry my reply was late, yeah you can. All you have to do is just do
When player enters the dimension trigger which should go something like this:
set location of Event/Target entity to x+1000, y, z+1000
Place block [Your custom dimension block] x+1000, y-1, z+1000
Place block [Your custom dimension block] x+999, y-1, z+1000
Place block [Your custom dimension block] x+998, y-1, z+1000
Place block [Your custom dimension block] x+1001, y-1, z+1000
Place block [Your custom dimension block] x+1001, y, z+1000
Place block [Your custom dimension block] x+1001, y+1, z+1000
Place block [Your custom dimension block] x+1001, y+2, z+1000
Place block [Your custom dimension block] x+1001, y+3, z+1000
Place block [Your custom dimension block] x+1001, y-+4, z+1000
Place block [Your custom dimension block] x+1000, y+4, z+1000
Place block [Your custom dimension block] x+999, y+4, z+1000
Place block [Your custom dimension block] x+998, y+4, z+1000
Place block [Your custom dimension block] x+998, y+3, z+1000
Place block [Your custom dimension block] x+998, y+2, z+1000
Place block [Your custom dimension block] x+998, y+1, z+1000
Place block [Your custom dimension block] x+998, y, z+1000
Call procedure at x+1000 y+1000 z+1000 [Place Portal]
So that's the end of the first procedure. The second procedure "Place Portal" will go something like this:
Wait 100 ticks on server side then do:
Place portal at x y z
That should do the trick.
Oh yeah, but there is a problem with this method. It's that when you enter the dimension and leave, you'll be in a completely different place in the overworld. So in order to fix this, make 3 variables: "portal x", "portal y", "portal z" all global world number variables.
And now, do this procedure for the trigger "When portal trigger used"
If current dimension of Event/Target entity is "overworld":
set portal x to x
set portal y to y
set portal z to z
And then, make a new procedure for the trigger "When player leaves dimension" that goes like this:
set location of Event/Target entity to portal x, portal y, portal z.
That should fix the bug.
wow i didnt exoect that much detail bro thank you! i’m gonna try it out tomorrow! :))) you’re great bro fr! do u think u could take a look at my most recent post? about a boss mob? thanks if u do! :)
How'd it go?
i'm gonna try it right now glowsquidd ill let you know how it goes later tn or tmr morning :) i havent had time to get to this yet bc ive been working on designing other dimensions and fixing floating tree problems lmao
wait bro something that i just thought of... when the portal gets moved, will it be lit? or will the player have to re light it
this method worked flawlessly for me in 2020.5. thanks again so much bro!