Grant Gryczan

Results 59 issues of Grant Gryczan

![image](https://user-images.githubusercontent.com/14056899/147895914-7126fb57-d11c-4ffa-9e66-e579df519b05.png)

Example: ```ts Advancement('test', { criteria: { a: { trigger: 'minecraft:tick' }, b: { trigger: 'minecraft:tick' } }, requirements: ['a'] }); ``` This should be inferred as `Advancement`, not `Advancement`. Otherwise...

![image](https://user-images.githubusercontent.com/14056899/147865149-ae5d4258-3cb3-4695-898a-6a5c9176d299.png)

![image](https://user-images.githubusercontent.com/14056899/147865020-6b411f22-f1f2-47b2-8ed2-2fb352925a31.png) Documentation: https://minecraft.fandom.com/wiki/Predicate#condition_value_check

The `player` property of any applicable advancement trigger's `conditions` should always accept an `EntityCriterion`, not only an array of predicates. ![image](https://user-images.githubusercontent.com/14056899/147614103-cef0c3e9-f836-4257-89f8-be075505e2ea.png) The `player` property also should not accept a single...

![image](https://user-images.githubusercontent.com/14056899/145342775-1555e455-d03d-4b3a-ac56-753c9b027052.png) ![image](https://user-images.githubusercontent.com/14056899/145361376-338d9bc9-3aaa-4ea3-8b3f-4ea50f5b9201.png) ![image](https://user-images.githubusercontent.com/14056899/146120159-4a5de7a2-850a-420b-be8b-a20f3ee07404.png)

This only happens when inputting `MCFunctionInstance`s into `schedule.clear`, not `string`s. And this issue does not apply to `mcFunctionInstance.schedule.clear()` either. ![image](https://user-images.githubusercontent.com/14056899/147463538-2fa4c1ea-8045-450b-85da-088bcd8a3a5e.png) ![image](https://user-images.githubusercontent.com/14056899/147463512-c47ac2c1-2425-457e-9231-aa0245f8614f.png) This also happens with `schedule.function`, but only when called...

For example, `mcFunctionTag.values` does not include `MCFunctionInstance` in its element type, even though it works fine in JS runtime. ![image](https://user-images.githubusercontent.com/14056899/147465914-169614bb-3a3b-49d7-8658-b61a6b4522af.png)

```ts MCFunction('test', () => { execute.as('@s').run('something', () => {}); say(1); say(2); say(3); }); ``` outputs ```mcfunction execute as @s run say 1 say 2 say 3 ``` This applies whether...