Colin Barndt

Results 16 comments of Colin Barndt

This is also an issue on Android with swiping gestures instead of the Android buttons. I am using a OnePlus 7T with such gestures enabled and I can no longer...

> Manually adding this for all existing blocks would be insane, and generating typings is a difficult task. Not saying this is impossible, but its not easy. Please take a...

Couldn't this be repeated for every block that has a state? ```ts function block(id: "minecraft:sandstone_slab", state?: {type?: "top"|"bottom"|"double"; waterlogged?: boolean}); ``` Maybe I forgot something, but I don't see the...

I implemented this function in my sandstone-resourcepacks library. Here's a working example of the function: ![blockWithState](https://user-images.githubusercontent.com/26167910/132009355-fc98e720-765d-4827-8857-6196334fe8ca.gif) Sources: - https://github.com/ColinTimBarndt/sandstone-resourcepacks/blob/master/src/blockstate.ts#L61-L72 - https://github.com/ColinTimBarndt/sandstone-resourcepacks/blob/master/generate/blockstates.ts

Though the save function would need the id and type of the resource to correctly determine the save destination.

Also, the selector component is missing the optional "separator" property, which is very useful. Reference: https://minecraft.fandom.com/wiki/Raw_JSON_text_format#Entity_Names

This issue also exists on Ubuntu 22.04 and Pop 22.04. It works on my Laptop which uses AMD graphics. This has probably something to do with Nvidia graphics drivers Edit:...

Is there any way to automate this temporary fix? This generator does not seem to support `@header`s. Otherwise this would have worked: ```g4 @header { // @ts-nocheck } ```

I modified the antlr4ts-cli jar file with the PR and Typescript compiled without any errors.

I have encountered an error in one of the lines that are changed in the PR: ```js this.serializedATN = SomelanguageLexer._serializedATN; ``` Error: ```txt TypeError: Cannot set property serializedATN of #...