Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make the viewer its own package #236

Closed
wozhendeai opened this issue Dec 6, 2024 · 11 comments
Closed

Make the viewer its own package #236

wozhendeai opened this issue Dec 6, 2024 · 11 comments

Comments

@wozhendeai
Copy link

Would love to use it on a personal project but has proven to be difficult to extract just the prismarine-viewer logic & render world data off streamed world data

@zardoy
Copy link
Owner

zardoy commented Dec 6, 2024

What is your case? Do you want it to be used with your mineflayer bot as a plugin? I can try to provide a better solution that would be easier for me and you to use

@zardoy
Copy link
Owner

zardoy commented Dec 7, 2024

@wozhendeai do you still need it? Can you elaborate?

@wozhendeai
Copy link
Author

wozhendeai commented Dec 7, 2024

Yeah I still need it. For example, I was particularly struggling with trying to setup a mineflayer bot using your viewer/world rendering implementation. I can provide an example of what I tried if you want.

I was streaming world data from a mineflayer bot and attempting to render it on a react app but I couldn't get it to work

@zardoy
Copy link
Owner

zardoy commented Dec 7, 2024

I will make a callback url support on mcraft.fun and mineflayer plugin for it. It will be redirecting you to mcraft.fun with the special link so the website will connect to your plugin via websocket that would stream world data to website. Would it be okay for you?

@zardoy
Copy link
Owner

zardoy commented Dec 7, 2024

@wozhendeai thats my plan. Would it work for you?

@wozhendeai
Copy link
Author

Yeah that would be awesome, thanks

@zardoy
Copy link
Owner

zardoy commented Dec 8, 2024

Ok, just tracking the task for now

@zardoy
Copy link
Owner

zardoy commented Dec 18, 2024

@zardoy
Copy link
Owner

zardoy commented Dec 20, 2024

Yeah that would be awesome, thanks

@wozhendeai it was done in this package: https://npmjs.com/mcraft-fun-mineflayer. if s.mcraft.fun doesn't load for you try s.pcm.gg , thanks!

@zardoy zardoy closed this as completed Dec 20, 2024
@wozhendeai
Copy link
Author

thanks!! Working with it now

@zardoy
Copy link
Owner

zardoy commented Dec 21, 2024

thanks!! Working with it now

@wozhendeai Don't you mind sharing a screenshot or video if it works in your case? I would highly appreciate it, will use as showcase if you don't mind (no worries I will attach the credits)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants