TwitchSpawn

TwitchSpawn

411k Downloads

Unknown block type minecraft:sign (or wall_sign)

Skynzor opened this issue ยท 1 comments

commented

Describe the bug
When trying to setblock or drop the item minecraft:sign or minecraft:wall_sign it doesn't recognize the block.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the file: 'rules.default.tsl'
  2. Add the following lines:
# Sub rules
EXECUTE %/fill ~1 100 ~1 ~-1 1 ~-1 minecraft:air replace minecraft:grass_block%
 %/fill ~1 100 ~1 ~-1 1 ~-1 minecraft:air replace minecraft:dirt%
 %/fill ~1 100 ~1 ~-1 1 ~-1 minecraft:air replace minecraft:sand%
 %/fill ~1 100 ~1 ~-1 1 ~-1 minecraft:air replace minecraft:netherrack%
 %/fill ~1 100 ~1 ~-1 1 ~-1 minecraft:air replace minecraft:cobblestone%
 %/fill ~ 20 ~ ~-1 20 ~-1 minecraft:water%
 %/setblock ~ ~ ~ minecraft:sign 1 replace {Text1:"{\"text\":\"Thanks for\"}",Text2:"{\"text\":\"the sub\"}",Text3:"{\"text\":\"${actor}\",\"color\":\"dark_blue\"}",Text4:"{\"text\":\":D\"}",}%
 DISPLAYING %[{text:"and stripped the ground below you!!!"}]%
 On Twitch Subscription
  1. Save document
  2. Open minecraft and start your world
  3. Do /ts start
  4. Try out the Twitch subscription with the Test widget function in Streamlabs OBS

Expected behavior
I expected that a sign would be placed with 'Thanks for the sub [name] :D'

Screenshots
If applicable, add screenshots to help explain your problem.
image

Version (please complete the following information):

  • OS: Windows 10
  • TwitchSpawn Version: 1.9.0 [edited typo]
  • Forge Version: 34.1.0
commented

After more testing, I found out that the item minecraft:sign or minecraft:wall_sign isn't even an official item. Tho stated on the official item list.

So I tried minecraft:birch_sign and it does recognize the birch_sign yet now I get a new error regarding the argument.
I tried out BrooklynOtters /setblock command for the sign, to find here

The code is as follows:

EXECUTE %/setblock ~ ~ ~ minecraft:birch_sign 0 replace {Text1:"{\"text\":\"Thanks for\"}",Text2:"{\"text\":\"the sub\"}",Text3:"{\"text\":\"${actor}\",\"color\":\"dark_blue\"}",Text4:"{\"text\":\":D\"}",}%
 ON Twitch subscription

What am I doing wrong? ๐Ÿ˜„

  • OS: Windows 10
  • Minecraft Version: 1.6.3
  • TwitchSpawn Version: 1.9.0
  • Forge Version: 34.1.0