Stevertus / objD

objD is a framework for developing Datapacks for Minecraft. It uses the Dart programming language.
https://objd.stevertus.com
BSD 2-Clause "Simplified" License
46 stars 13 forks source link

The "Effect" Widget don't hide particle #12

Closed Ephilem closed 4 years ago

Ephilem commented 4 years ago

Hey,

This Effect widget for example : Effect(EffectType.invisibility, duration: 100000, showParticles: false) don't work because the export is : ActiveEffects:[{Id:14,Amplifier:0,Duration:2000000,ShowParticles:0}]

And for hide particle, the ShowParticles:0 need a b like that ShowParticles:0b.

I thinks it's I'm on the version 1.16.1 on Minecraft and ObjD havn't updated on this version.

Thanks

(PS: Sorry for my english)

Stevertus commented 4 years ago

This will be fixed in 0.3.5. Meanwhile you can use Git as source for your pubspec if this breaks something

dependencies:
  objd:
    git: https://github.com/Stevertus/objD.git

Thanks for reporting this issue this clearly!