Can you make a forum or add lots of information to the wiki? #66
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There isn't a forum for fabric that i know of, and the wiki has helpful information but it doesnt tell me a lot of things i need to know.
The only thing is the discord but i dont have discord so can you make a forum or something?
What do you want to know? Asking for more documentation is valid, but it's possible that the wiki already has what you're looking for.
Oof sorry for really late respond..
Ok so I want to know how to make blocks do certain things on command (e.g. teleporting the player)
But things like this aren't shown on the wiki, is it in the fabric api? Do i use other apis? how?
Maybe there is stuff on how to do it there but im just not finding it..
Also, can you make like a forum? That would be a lot more helpful, so if it's possible, please do it.
what do you mean "on command"? For most cases, you can just look how vanilla does it and do the same (for this one
Entity#teleportiirc)There was a discussion about that in the discord, and from what I remember the answer is "maybe".
The wiki doesn't document everything because for most things we'd just use vanilla methods because we don't need Fabric API to provide this stuff. I see the wiki as documentation to get started, and documentation for Fabric API stuff. Again, for most things you can look at how vanilla does it and do the same.
alright then, thanks
(What i meant by "on command" is making it happen when a player does a certain action, e.g. crouching, but like you said, I will have to figure it out myself.)
To do something when something else happens ("on command" as you said), you have to use events. The event you want may be in the Fabric API, but if it doesn't, you can create your own: https://fabricmc.net/wiki/tutorial:events
alright, thanks