Solved spawn colored bed

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Uzumaki

Well-Known Member
Feb 20, 2017
310
10
18
33
I cannot manage to spawn a colored bed using skript dev37c

on default aliases is only bed block which is normal is red bed block,

tried to add these to skript aliases

code_language.skript:
    blue_bed_block = 26:11
    blue_bed_item = 355:11

when i use blue_bed_item i get a blue bed
when i set a block to blue_bed_block the block is a red bed instead of a blue bed.
 
I cannot manage to spawn a colored bed using skript dev37c

on default aliases is only bed block which is normal is red bed block,

tried to add these to skript aliases

code_language.skript:
    blue_bed_block = 26:11
    blue_bed_item = 355:11

when i use blue_bed_item i get a blue bed
when i set a block to blue_bed_block the block is a red bed instead of a blue bed.
I know this isnt the easiest way to do it, but I came across this
https://forums.skunity.com/threads/how-to-get-bed-color.5690/
 
  • Like
Reactions: Uzumaki
Bed colors are stored in the NBT using a block entity in pre-1.13 versions so you can't get it or set it with aliases.
 
  • Like
Reactions: Uzumaki
Status
Not open for further replies.