CraftTweaker

CraftTweaker

151M Downloads

[1.14.4] Error running tag scripts

WenXin20 opened this issue ยท 4 comments

commented

Issue Description:

When trying to add a block to the tag small_flowers, I get an error that says line 3 is missing a semicolon, even though one is there.
I may also be missing something from the file that I'm unaware of. I tried to used the github example that was provided, but no luck so far.

What happens:

  • Logging into a world produces an error with the provided script.

What you expected to happen:

  • It should instead register the block under the tag small_flowers

Script used:

crafttweaker.log file::


Affected Versions:

  • Minecraft: v1.14.4
  • Forge: v28.1.107
  • Crafttweaker: v5.0.1.150
  • Using a server: No

Your most recent log file where the issue was present:

Full Log
Error starts at [19:51:33]

commented

There is no

<block:modid:name>

bracket handler, you should be using the blockstate bracket handler

<blockstate:modid:name>
commented

If that's the case, then the example at the link below is incorrect. The top few example lines says to use <block:modid:name>

https://github.com/CraftTweaker/CraftTweaker-Examples/blob/master/1.14/tags.zs

commented

Ah that, so the comment at the top was more so me planning on how it will be implemented, and as a little snippet to send to others to get their thoughts, it was made before I had even implemented blocks/states

If you look at the very last line however,
https://github.com/CraftTweaker/CraftTweaker-Examples/blob/master/1.14/tags.zs#L34
I do use the <blockstate: bracket.

Sorry for the confusion, we are working on the docs, just a lot to do in the mod itself to not much time :(

commented

Ah, it's no problem! Thanks!