node-addon-api
mineflayer
node-addon-api | mineflayer | |
---|---|---|
14 | 18 | |
2,203 | 5,275 | |
0.9% | 2.6% | |
8.7 | 7.9 | |
11 days ago | 6 days ago | |
C++ | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-addon-api
-
Matanuska ADR 001 - Encoding Language
It's the official extension mechanism, and therefore has the best support
- Vulnerabilities in NodeJS C/C++ add-on extensions
- How to run one AsyncWorker at a time?
-
Electrons Are Fast, So Can Be Electron – How to Optimize Electron App Performance
If we want it fast, Node-API looks like a perfect solution. A library written in C/C++ must be fast. If you prefer to use C++ over C, the node-addon-api can help. This is probably one of the best solutions available, especially since it is officially supported by the Node.js team. It’s super stable once it is built, but it can be painful during development. Errors are often far from easy to understand, so if you are no expert in C, it might kick your ass very easily.
-
node-addon-api v7.0.0 released
The Node-API Team proudly announces the release of version 7.0.0 of node-addon-api, the C++ wrapper of the ABI-stable C-based Node-API (npm, GitHub).
- What's the "modern" way of creating a native addon for Node.js?
-
A priimer on the use of stdin/stdout and stderr
Node ffi is an unnecessary wrapper around addon api. See https://github.com/nodejs/node-addon-api
- Absolutely love this "little" 4hr project.
-
Calling C++ from nodejs
Did a little digging, napi is header file in an npm package that's supposed to help you build C++ addons, node_api is node's actual API. https://github.com/nodejs/node-addon-api you might have already been using this. The examples have enough code that it shouldn't be too bad to get started
- Throwing errors in callback
mineflayer
-
Voyager: An Open-Ended Embodied Agent with LLMs
Looking at the paper, as I understand it they're using Mineflayer https://github.com/PrismarineJS/mineflayer and passing parts of the state of the game as JSON to the LLM that are used for code generation to complete tasks.
> I still don't understand it and it blows my mind - how such properties emerge just from compressing the task of next word prediction.
The Mineflayer library is very popular, so all the relevant tasks are likely already extant in the training data.
-
Data Connections between Ableton Live and Minecraft
I've been making music in Minecraft since December 2020, and my most recent developments are some robust data connections that allow two-way communication between Ableton Live and Minecraft. This all works with the Mineflayer Javascript Library and Max for Live.
-
anything good for botting, or a client side bot thing like baritone
Mineflayer is probably what you want. Or Alto Clef if you want to use it in a fabric client.
- Is it possible to get a Bot/AI player to play/roleplay with me or fight me in PVP?
-
Minecraft Chat App Showcase
I'm using PrismarineJS/Mineflayer in the background. Coming soon: https://imgur.com/a/OoYwkPK#VwGUD6F
-
Minecraft Bot Client - Macro vs Logic/World Information
This isn't quite a minecraft mod, but this is the closest subreddit I could find. I'm currently working on a minecraft bot designed to mine a large amount of blocks in a given area (it has instant mining). Mineflayer allows you to code a minecraft client with Javascript, and it even supports finding the nearest block of a certain type, but the behavior is ultimately pretty choppy and not smooth.
- Mod that shows if a chunk was loaded before?
-
Plugin to stop mobs despawning through portals when no player is nearby?
You have a thing called https://github.com/PrismarineJS/mineflayer , and you can get a bot w/o running the game.
-
Realms?
I went to this form to see if there was any way to get mineflayer working with realms: https://github.com/PrismarineJS/mineflayer/issues/1168 but I cant find a way to get it work. Does anyone know how to get mineflayer working on realms?
-
I created a script to play Minecraft with a bot in the chat
This script is an example script for mineflayer. You can find this exact script here. (gps.js)
What are some alternatives?
nan - Native Abstractions for Node.js
KotlinForForge - Makes Kotlin forge-friendly.
opus - Native opus bindings for node
web-minecraft - PoC Minecraft client written in Javascript (1.16.5 offline mode working)
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
prismarine-web-client - Minecraft web client running in your browser [UnavailableForLegalReasons - Repository access blocked]
electron-quick-start - Clone to try a simple Electron app
Bot Builder SDK - Bot Framework provides the most comprehensive experience for building conversation applications.
node-addon-examples - Node.js C++ addon examples from http://nodejs.org/docs/latest/api/addons.html
mineflayer-pathfinder - Pathfinding plugin that gives bot the ability to go from A to B
Node-Torrent - This repository contains the torrent node source code written in C++.
node-telegram-bot-api - Telegram Bot API for NodeJS