GithubHelp home page GithubHelp logo

libr-getter's Introduction

Why do game devs have to wear glasses? Cuz' they need to C# :)

Welcome :)

About me

I am a guy, 19 y/o, I love programming and anime ๐Ÿ’•

I am trying to be independent, code for myself and enjoy my life.

I am known as Kemuri Senpai, gXLg, GamerXL or /dev/null. My real name is Dima.

Once I will disappear in /dev/null, but I will forever stay in your /dev/mem.

Languages

  • Russian ๐Ÿ‡ท๐Ÿ‡บ My mother's language
  • English ๐Ÿ‡ฌ๐Ÿ‡ง
  • German ๐Ÿ‡ฉ๐Ÿ‡ช The language of where I live
  • Japanese ๐Ÿ‡ฏ๐Ÿ‡ต Struggling to learn

Contacts

My activity

My GitHub stats

Top Langs

Achievements

codewars

libr-getter's People

Contributors

7coil avatar gxlg avatar marzeq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

7coil

libr-getter's Issues

Lock trades

After getting a desired enchantment but staying AFK for too long, you could lose the enchanment due to the villager constantly refreshing his trades.
This can be prevented by buying any of his items.
You should have at least one from the following cases:

  • 9 emeralds for bookshelf trade and 24 paper
  • max emeralds from the goals list + book

Crash on 1.20.4

[18:09:54] [Render thread/ERROR]: Unreported exception thrown!
java.lang.NoSuchMethodError: 'void net.minecraft.class_634.method_2883(net.minecraft.class_2596)'
	at com.gxlg.librgetter.Worker.tick(Worker.java:231) ~[libr-getter-1.3.2-Warden.jar:?]
	at net.minecraft.class_636.handler$zmp000$librgetter$tick(class_636.java:1604) ~[client-intermediary.jar:?]
	at net.minecraft.class_636.method_2927(class_636.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1574(class_310.java:1962) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1289) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:888) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:265) ~[minecraft-1.20.4-client.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.3.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:87) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:130) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) ~[NewLaunch.jar:?]

1.19.3

would you update please? no longer works in 1.19.3

Manual mode

Is it possible to create a manual mode where the player places and replaces the lectern and as soon as a goal has been found it just blocks you from breaking the lectern until you stop the process?

I ask this for 2 reasons:

  • feeling/seeming less cheaty
  • with lecterns in my offhand I can actually re-place the lecter faster, which makes the villager retake the job instantaniously (I had issues with the villager not retaking the job for a while and that leading to a lot of wasted time)

Best regards,
Sam Aurel (Discord: @SamAurel)

Mod crashes on M1 Mac / Warden

The mod crashes when I start the mod.
Prism Launcher / Apple M1, MacBook Air / Fabric 1.20.2 / Sodium, Indium, Librarian Getter Installed / On server

[19:31:21] [Render thread/INFO]: [System] [CHAT] Goals list:\n- minecraft:feather_falling 4 (24) (remove)
[19:31:25] [Render thread/INFO]: [System] [CHAT] The lectern is not been set!
[19:31:30] [Render thread/INFO]: [System] [CHAT] Villager selected
[19:31:32] [Render thread/INFO]: [System] [CHAT] Block selected
[19:31:34] [Render thread/INFO]: [System] [CHAT] LibrGetter process started
[19:31:35] [Render thread/ERROR]: Unreported exception thrown!
java.lang.NoSuchMethodError: 'void net.minecraft.class_634.method_2883(net.minecraft.class_2596)'
	at com.gxlg.librgetter.Worker.tick(Worker.java:231) ~[libr-getter%201.3.3%20Warden.jar:?]
	at net.minecraft.class_636.handler$zlf000$librgetter$tick(class_636.java:1602) ~[client-intermediary.jar:?]
	at net.minecraft.class_636.method_2927(class_636.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1574(class_310.java:1905) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1237) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:856) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:253) ~[minecraft-1.20.2-client.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.3.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:71) ~[NewLaunch.jar:?]
[19:31:35] [Sound engine/ERROR]: Stop: Invalid name parameter.
[19:31:35] [Render thread/INFO]: Stopping worker threads
---- Minecraft Crash Report ----
// I feel sad now :(
Time: 2024-01-19 19:31:35
Description: Unexpected error
java.lang.NoSuchMethodError: 'void net.minecraft.class_634.method_2883(net.minecraft.class_2596)'
	at com.gxlg.librgetter.Worker.tick(Worker.java:231)
	at net.minecraft.class_636.handler$zlf000$librgetter$tick(class_636.java:1602)
	at net.minecraft.class_636.method_2927(class_636.java)
	at net.minecraft.class_310.method_1574(class_310.java:1905)
	at net.minecraft.class_310.method_1523(class_310.java:1237)
	at net.minecraft.class_310.method_1514(class_310.java:856)
	at net.minecraft.client.main.Main.main(Main.java:253)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:71)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
	at com.gxlg.librgetter.Worker.tick(Worker.java:231)
	at net.minecraft.class_636.handler$zlf000$librgetter$tick(class_636.java:1602)
	at net.minecraft.class_636.method_2927(class_636.java)
-- Affected level --
Details:
	All players: 1 total; [class_746['xn0u'/54112, l='ClientLevel', x=-1216.54, y=65.00, z=1572.20]]
	Chunk stats: 4096, 453
	Level dimension: minecraft:overworld
	Level spawn location: World: (20,95,-50), Section: (at 4,15,14 in 1,5,-4; chunk contains blocks 16,-64,-64 to 31,319,-49), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)
	Level time: 79631000 game time, 23000660 day time
	Server brand: Spigot
	Server type: Non-integrated multiplayer server
Stacktrace:
	at net.minecraft.class_638.method_8538(class_638.java:451)
	at net.minecraft.class_310.method_1587(class_310.java:2481)
	at net.minecraft.class_310.method_1514(class_310.java:880)
	at net.minecraft.client.main.Main.main(Main.java:253)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:71)

Further Enhancements

  • Add version update checker (done in v.2.0.0) (potentially auto-updater)
  • Upload to modrinth worklflow is set up, waiting for Modrinth to approve the project done (#21)
  • Add safe-checker: check if when lectern broken, the villager can escape
  • Potentially: Work on a GUI
  • Maybe (if not too hard): work on path finder to pick up lectern (#15)
  • Auto stop/auto eat when hungry, takes damage, or the villager is attacked (will not be wanted by Modrinth since it could be used as a hack)
  • Add keybinds
  • Add translation(done in v.2.0.2)
  • Investigation needed: all-in-one mod, to use a single mod with different Minecraft versions (every feature I add, has to be added in other mod versions and can be very annoying to implement) (impossible? no! done in v.2.0.0)
  • Add Mod Menu compatibility
  • Add enchantments presets

Users are welcome to add their ideas below

Lag compensation

If the server lags while tryng to play the lectern then the mod will not try to place the lectern again

(1.19.2) librget is not checking the villager's trade automatically

im on a Spigot 1.19.2 server with no plugins (its a tad laggy) the only mods i have are fabric api and librget
https://youtu.be/CHROaU7gJMQ This is the issue im having.
https://gyazo.com/cee9ccc1b71c9484635e83e4388d00ab

librget is not checking the villager for their trade automatically, i must right click them.

The log does not show anything unusual. only that librget has started.
https://gyazo.com/e0590d41793bc8246c433142b705cb8f

Minor bug/issue

When you're running for books from enchantment solution, you can receive just 'book',
The process will error and stop, and not proceed till you break and replace the lectern once manually to reset the villager.

Using v2.0.1 with mc 1.20.2

image
image

Unknow or Incomplete Command

Hey there! Just installed the last version for 1.16.5, and I can use the commands such as /librget add, and options and the other ones, but whenever I tried to 'get' the villager it returns a Unknow or Incomplete Command
image

Enhancements

Goal remover

After finding a desired enchantment, you could remove the enchanment from the goals list with a config option

Max level

Make the level argument optional and default to the max level of each own enchanment in the list

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.