cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.25k stars 1.45k forks source link

Ability to use Baritone without Minecraft API #586

Closed Cubxity closed 5 years ago

Cubxity commented 5 years ago

Describe your suggestion

Ability to use Baritone "standalone" without Minecraft classes at all.

Context

The reason why it should be added is that it allows the ability for developers to make bots without needing the full Minecraft client itself.

Final checklist

0-x-2-2 commented 5 years ago

This is not really possible however nothing is stopping you from implementing already existing game code in your headless Minecraft client.

Cubxity commented 5 years ago

This is not really possible however nothing is stopping you from implementing already existing game code in your headless Minecraft client.

How so? Wouldn't it be possible to make interfaces for us to implement, e.g: IWorldProvider, IPlayerProvider, etc..?

0-x-2-2 commented 5 years ago

This would be a lot of work regardless because Baritone depends on ALOT of Mojang code.

Here is almost every Minecraft class that baritone depends on: unique_imports.txt

ZeroMemes commented 5 years ago

I think what is meant here is Baritone API usage without the need of importing Minecraft, which actually wouldn’t be too difficult

Cubxity commented 5 years ago

@ZeroMemes yea, that's exactly what I meant

leijurv commented 5 years ago

This would make baritone as a dependency of impact 100x easier

0-x-2-2 commented 5 years ago

@ZeroMemes yea, that's exactly what I meant

I'm very sure what Brady said confused you because the issue you made before this one was for some Minecraft protocol library and you also said this "allows the ability for developers to make bots without needing the full Minecraft client itself.". Can you make it clear about what you really want because what @ZeroMemes was talking about is the Baritone API won't need Minecraft client but running Baritone still will.

Cubxity commented 5 years ago

@0-x-2-2 Yea I'm a bit confused here, what's the difference between "Baritone" and "Baritone API"? Also what I wanted is to make headless bots with the AI that Baritone has without needing the full MC client

Sent from my Mate 9 using FastHub

0-x-2-2 commented 5 years ago

The Baritone API is what mods can use to control Baritone.

ZeroMemes commented 5 years ago

This isn't going to happen.