MinecraftTAS / TAS-Battle

PVP and gamemodes in slow motion
https://tasbattle.mgnet.work
GNU Lesser General Public License v3.0
8 stars 4 forks source link

Add client #14

Closed ScribbleTAS closed 1 year ago

ScribbleTAS commented 1 year ago
ScribbleTAS commented 1 year ago

@PancakeTAS Can you try importing and starting the project? For some reason when I start, it tries to load the filename as the modname

[16:32:34] [main/INFO] (FabricLoader/GameProvider) Loading Minecraft minecraft-merged-project-root-1.19.4-loom.mappings.1_19_4.layered+hash.2198-v2 with Fabric Loader 0.14.9

While it should only be 1.19.4

PancakeTAS commented 1 year ago

sorry for nitpicking every single small thing, feel free to do the same with tasmod

PancakeTAS commented 1 year ago

Alright here's how to login in the ide. Ignore the mixin it's not necessary anymore.

Update build.gradle

Add into the dependencies block: localRuntime "net.covers1624:DevLogin:0.1.0.2" Add into the repositories block: maven { url = 'https://nexus.covers1624.net/repository/maven-releases/'} Add into the loom block

runs {
    clientLogin {
         inherit runs.client
         programArgs '--launch_target', 'net.fabricmc.loader.impl.launch.knot.KnotClient'
         mainClass.set 'net.covers1624.devlogin.DevLogin'
         ideConfigGenerated true
    }
}

then rerun eclipse/genEclipseRuns task

ScribbleTAS commented 1 year ago

Yeah btw, I can't join the normal server and the preview server spawns me in the void and kicks me

ScribbleTAS commented 1 year ago

I am so done with this...

You can currently cycle through the modes with R and switch players with Q and E.

I have only tested this with entities in singleplayer, no idea if it works on the server, since I can't connect.

No energy to figure out first person mode or checking inside the block... Maybe interpolation can be added in the future.

PancakeTAS commented 1 year ago

Yeah btw, I can't join the normal server and the preview server spawns me in the void and kicks me

this is exactly how it should behave

I am so done with this...

You can currently cycle through the modes with R and switch players with Q and E.

I have only tested this with entities in singleplayer, no idea if it works on the server, since I can't connect.

No energy to figure out first person mode or checking inside the block... Maybe interpolation can be added in the future.

Amazing!