iGoodie / TwitchSpawn

👾 TwitchSpawn is a Minecraft mod, which is designed for Twitch streamers using 3rd party streaming tools! (comes with its own language!)
https://www.curseforge.com/minecraft/mc-mods/twitchspawn
Eclipse Public License 1.0
53 stars 26 forks source link

Unknown block type minecraft:sign (or wall_sign) #47

Open Skynzor opened 3 years ago

Skynzor commented 3 years ago

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):

Skynzor commented 3 years ago

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? 😄