Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-188602

In non-natural custom dimensions, if "bed_works" is set to true, beds cannot be used to skip the night or set the spawn point

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 1.16.2, 1.16.3, 1.16.5, 21w18a, 1.18 Pre-release 4, 22w15a, 22w17a, 1.19 Pre-release 2, 1.19, 1.19.1 Pre-release 6, 1.19.1, 1.19.2, 22w42a, 22w43a, 22w44a, 22w46a, 1.19.3 Pre-release 1, 1.19.3, 23w03a, 1.19.4 Pre-release 1, 1.19.4, 23w16a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20, 1.20.1, 23w32a, 23w35a, 1.20.2 Pre-release 1, 1.20.2 Release Candidate 1, 1.20.2, 23w40a, 23w41a, 23w42a, 23w43a, 23w44a, 1.20.3 Pre-Release 2, 1.20.3, 1.20.4, 24w07a, 24w09a, 24w10a
    • None
    • Confirmed
    • Custom Worlds
    • Low
    • Platform

      In a custom dimension, if the dimension type has "natural" set to false and "bed_works" set to true, using a bed does not explode, but it does not skip the night or set the player's spawn point either.

      How to reproduce:

      1. Create a new world with the attached data pack (MC-188602.zip).
      2. Go to the nether or the end.
      3. Place a bed down.
      4. Use the bed.

      Expected result:

      The bed would set my spawn point, but probably not skip the night as the dimension has "natural" set to false.

      Observed result:

      The bed did not do anything.

       

       

       

      Original description:

      I made a custom world where what I expected to happen was:

      • In the Overworld, beds explode and respawn anchors set your spawn point.
      • In the Nether, beds set your spawn point and respawn anchors explode.
      • In the End, beds and respawn anchors set your spawn point.

      However, what actually happened was:

      • In the Overworld, beds exploded and respawn anchors did nothing (1.16.5)/actually set your spawn point (21w18a).
      • In the Nether, beds did nothing and respawn anchors exploded.
      • In the End, beds did nothing and respawn anchors did actually set my spawn point.

      I have attached the world settings and a video that shows some of the results.

      Additionally, these errors appear in the output log when attempting to set your spawn (1.16.5)

      Error executing task on Client
      java.lang.NullPointerException
      	at afr.a(SourceFile:128)
      	at afr.a(SourceFile:142)
      	at dkv.b(SourceFile:1202)
      	at dkv.a(SourceFile:1216)
      	at dwu.a(SourceFile:870)
      	at pb.a(SourceFile:41)
      	at pb.a(SourceFile:11)
      	at ol.a(SourceFile:21)
      	at ol$$Lambda$4750/782440233.run(Unknown Source)
      	at aob.c(SourceFile:144)
      	at aof.c(SourceFile:23)
      	at aob.y(SourceFile:118)
      	at aob.bl(SourceFile:103)
      	at djz.e(SourceFile:1015)
      	at djz.e(SourceFile:681)
      	at net.minecraft.client.main.Main.main(SourceFile:215)
      

            Unassigned Unassigned
            ManosSef ManosSef
            Votes:
            12 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: