Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

MCEdit spawn fail?


  • Please log in to reply
17 replies to this topic

#1

Wirsbo
    Wirsbo

    Redstone Miner

  • Members
  • 613 posts
  • Minecraft: Potet_Admin

Posted 11 September 2011 - 12:47 PM

Hey. Made a survival map with MCEdit, you can play it with no problems. But when you die, you generate new chunks and spawn on them. You are actually supposed to spawn on a ball high up in the air. I used a premade map, which is an empty map with no other blocks than the ball. The spawnpoint is on the ball. Why does this happen? And why doesn't monsters or animals spawn on the sphere? They only spawn if I use monsterspawners. And also, the spawn works just fine in multiplayer, but not singleplayer.
Posted Image

Register or log in to remove.

#2

Laserspongebob

Posted 11 September 2011 - 12:49 PM

View PostWirsbo, on 11 September 2011 - 12:47 PM, said:

Hey. Made a survival map with MCEdit, you can play it with no problems. But when you die, you generate new chunks and spawn on them. You are actually supposed to spawn on a ball high up in the air. I used a premade map, which is an empty map with no other blocks than the ball. The spawnpoint is on the ball. Why does this happen? And why doesn't monsters or animals spawn on the sphere? They only spawn if I use monsterspawners. And also, the spawn works just fine in multiplayer, but not singleplayer.
Are you playing on 1.8?

#3

Wirsbo
    Wirsbo

    Redstone Miner

  • Members
  • 613 posts
  • Minecraft: Potet_Admin

Posted 11 September 2011 - 12:50 PM

View PostLaserspongebob, on 11 September 2011 - 12:49 PM, said:

Are you playing on 1.8?
Nope. Playing 1.7.
Posted Image

#4

Wirsbo
    Wirsbo

    Redstone Miner

  • Members
  • 613 posts
  • Minecraft: Potet_Admin

Posted 11 September 2011 - 02:54 PM

*Bump!* Please, I really need help or my map wont work
Posted Image

#5

FireOwl7
    FireOwl7

    Redstone Miner

  • Members
  • 651 posts
  • Location: My Awesome World

Posted 12 September 2011 - 12:23 AM

is it on multiplayer?


EDIT: I think t=when you select a place to spawn then you spawn somewhere in that chunk (i might be wrong)
Posted Image

#6

codewarrior
  • Location: Big Island

Posted 12 September 2011 - 12:37 AM

Minecraft won't respawn you below elevation 64. Instead, it will move your spawn point to the nearest suitable spot and respawn you there. Maybe there are some other restrictions on where you can respawn? Try experimenting with different spawn locations and get back to me on what works and what doesn't.
MCEdit: Minecraft World Editor

"We will absolutely not keep in mind what external mapeditors will have to do to read data from the disk, that makes no sense whatsoever." - Grum

#7

Wirsbo
    Wirsbo

    Redstone Miner

  • Members
  • 613 posts
  • Minecraft: Potet_Admin

Posted 12 September 2011 - 04:28 PM

View Postcodewarrior, on 12 September 2011 - 12:37 AM, said:

Minecraft won't respawn you below elevation 64. Instead, it will move your spawn point to the nearest suitable spot and respawn you there. Maybe there are some other restrictions on where you can respawn? Try experimenting with different spawn locations and get back to me on what works and what doesn't.
I've tried to put the spawnpoint as high as possible, but still respawned in random chunks when you die... See my signature and download the map and test it, works good in multiplayer :/
Posted Image

#8

Rabisu
    Rabisu

    Redstone Miner

  • Members
  • 543 posts

Posted 12 September 2011 - 04:32 PM

View Postcodewarrior, on 12 September 2011 - 12:37 AM, said:

Minecraft won't respawn you below elevation 64. Instead, it will move your spawn point to the nearest suitable spot and respawn you there. Maybe there are some other restrictions on where you can respawn? Try experimenting with different spawn locations and get back to me on what works and what doesn't.
Another (seemingly arbitrary) condition is that you always first spawn on sand. I'm not sure if this is the problem here, but it's possible.

I only know this because it was causing a game-breaking bug when I removed sand from world generation. >_>
I had a mod back in Beta 1.8.1, but I quit for a while so it hasn't been updated since then.
WTF <-- If you'd like to try and update it, let me know. (It won't be an easy task, I'm sure)

#9

Wirsbo
    Wirsbo

    Redstone Miner

  • Members
  • 613 posts
  • Minecraft: Potet_Admin

Posted 12 September 2011 - 08:30 PM

View PostRabisu, on 12 September 2011 - 04:32 PM, said:

Another (seemingly arbitrary) condition is that you always first spawn on sand. I'm not sure if this is the problem here, but it's possible.

I only know this because it was causing a game-breaking bug when I removed sand from world generation. >_>
But why does it work for Multiplayer then? :/ Anyone who knows how to fix this?
Posted Image

#10

Rabisu
    Rabisu

    Redstone Miner

  • Members
  • 543 posts

Posted 12 September 2011 - 08:39 PM

View PostWirsbo, on 12 September 2011 - 08:30 PM, said:

But why does it work for Multiplayer then? :/ Anyone who knows how to fix this?
Spawning is likely handled differently for multiplayer. I haven't actually looked at the server code at all.
I had a mod back in Beta 1.8.1, but I quit for a while so it hasn't been updated since then.
WTF <-- If you'd like to try and update it, let me know. (It won't be an easy task, I'm sure)

#11

Wirsbo
    Wirsbo

    Redstone Miner

  • Members
  • 613 posts
  • Minecraft: Potet_Admin

Posted 13 September 2011 - 05:08 PM

Anyone? Need help! :D
Posted Image

#12

codewarrior
  • Location: Big Island

Posted 13 September 2011 - 08:17 PM

View PostWirsbo, on 13 September 2011 - 05:08 PM, said:

Anyone? Need help! :D
Nobody knows.

You will be the first to figure this out.
MCEdit: Minecraft World Editor

"We will absolutely not keep in mind what external mapeditors will have to do to read data from the disk, that makes no sense whatsoever." - Grum

#13

Wirsbo
    Wirsbo

    Redstone Miner

  • Members
  • 613 posts
  • Minecraft: Potet_Admin

Posted 13 September 2011 - 09:22 PM

View Postcodewarrior, on 13 September 2011 - 08:17 PM, said:

Nobody knows.

You will be the first to figure this out.
Why would nobody know?
Posted Image

#14

TRGWII
    TRGWII

    Coal Miner

  • Members
  • 110 posts

Posted 26 September 2011 - 07:02 PM

Well, i know the solution to the animals not spawning - Animals can only spawn on grass...

#15

slango20
    slango20

    Lapis Lazuli Collector

  • Members
  • 956 posts

Posted 09 October 2011 - 12:50 PM

I looked at the server sources and it turns out that you spawn within 20-30 blocks of the single player spawn and on any thing that is considered a block I.E. water but not torches but in single player you can only spawn on sand and above level 64
EDIT: if any of you ask yes i am a modder

View Postfm87, on 25 August 2013 - 08:37 PM, said:

pcpartpicker.com/p/2kUq0
the average script-follower/lack of common sense: www.techtales.com/tftechs.php?m=200504#8418

#16

UnKnown_Player
  • Minecraft: UnKnown_Crafter

Posted 19 November 2011 - 06:55 PM

View Postslango20, on 09 October 2011 - 12:50 PM, said:

I looked at the server sources and it turns out that you spawn within 20-30 blocks of the single player spawn and on any thing that is considered a block I.E. water but not torches but in single player you can only spawn on sand and above level 64
EDIT: if any of you ask yes i am a modder

Thanks for the info but there is more to this Im afraid.
I'm currently making a new SMP world and moved the spawner under ground in a big cave and the player spawner rests on a wooden floor. The problem is that I will never spawn down there when I die. I always spawn on top  (wich happens to be a dessert).

Is there no way to change this?   :(

Here's a picture on how it looks.
The spawn point is about where the cross is in the middle of the screen.

Posted Image

#17

codewarrior
  • Location: Big Island

Posted 19 November 2011 - 08:27 PM

I figured it out a while back. I was wrong about the spawn point needing to be at h=64.

There is a really weird rule for a valid spawn point. Minecraft looks at the column the spawn point is in and tries to find the top of the terrain by starting at y=63 and going upward, counting the solid blocks.

What happens is that if y=63 and y=64 are both empty, Minecraft thinks the entire column is empty and moves your spawn point elsewhere. When I found this out, I changed MCEdit to offer to fix the column for you if you try to put your spawn point in a place where Minecraft would reject it.

(This stuff applied to Beta 1.8.1. Not sure if the rule changed for 1.0.0)
MCEdit: Minecraft World Editor

"We will absolutely not keep in mind what external mapeditors will have to do to read data from the disk, that makes no sense whatsoever." - Grum

#18

UnKnown_Player
  • Minecraft: UnKnown_Crafter

Posted 19 November 2011 - 11:51 PM

View Postcodewarrior, on 19 November 2011 - 08:27 PM, said:

I figured it out a while back. I was wrong about the spawn point needing to be at h=64.

There is a really weird rule for a valid spawn point. Minecraft looks at the column the spawn point is in and tries to find the top of the terrain by starting at y=63 and going upward, counting the solid blocks.

What happens is that if y=63 and y=64 are both empty, Minecraft thinks the entire column is empty and moves your spawn point elsewhere. When I found this out, I changed MCEdit to offer to fix the column for you if you try to put your spawn point in a place where Minecraft would reject it.

(This stuff applied to Beta 1.8.1. Not sure if the rule changed for 1.0.0)

Well.. I have experimented with this for an hour or so and it seems that as long as there are blocks above you, minecraft will try to spawn at that possition. The only way I could get my spawn location to work below Y=64 was to remove all the blocks above the spawn (in a 20x20 block radius).

If you place the spawn point in a large room inside a mountain, and even if it is located above Y=64, you will end up spawning on top of that mountain.

I don't like it, but as long as there's no blocks above, it will work. I guess I have to accept that :)

Edit: Oh.. I guess that was what you where saying :P