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
44 stars 13 forks source link

Suggestion: Player sneak event module #18

Open cadrianmae opened 3 years ago

cadrianmae commented 3 years ago

A sneak event module that detects if the player is sneaking, similar to the ClickEvent module. The module will take in parameters similar to the ClickEvent such as Name, Path but will have 3 parameters unique to the sneak event module for tag(takes in a string to use as a tag on the player, if left empty it doesn't tag the player), whileSneaking(takes in a widget and executes them 20 every tick on a player who is sneaking) and onSneak(takes in a widget and executes them once on a player who has started sneaking)

I'm currently implementing my idea of this in my Objd project but I'm not entirely sure how everything works and how to input two widgets and call both of them.

Stevertus commented 3 years ago

I think we already talked on Discord once. Seems like you already have an idea, if you do have an implementation feel free to contribute or send it for me to include. I would be really happy to add it to objD

cadrianmae commented 3 years ago

Sure, thanks for the help. I would love to contribute, I'll look into that once I have more time!

Stevertus commented 3 years ago

Still sounds like a great idea, any updates?

cadrianmae commented 2 years ago

Unfortunately not, I am exploring the idea of creating datapacks as a hobby again, this time I have a better mindset for developing projects. 😊 I think this will be the first thing I will do once I familiarise myself with ObjD, unless someone else has taken that up already.