Code Monkey home page Code Monkey logo

smoothscrollingeverywhere's Introduction

Smooth Scrolling Everywhere

1.17.1 port of Smooth Scrolling Everywhere

smoothscrollingeverywhere's People

Contributors

cadenkriese avatar deathstar8 avatar shedaniel avatar triphora avatar

Stargazers

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

Watchers

 avatar  avatar

smoothscrollingeverywhere's Issues

1.17 version

Do you plan to update to 1.17? :) I would love to see that

Missing License Information

Forge now wants license garbage in every mod; it's not in yours so it errors out.
image

[02Jan2021 23:47:11.833] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/CORE]: Error during pre-loading phase
net.minecraftforge.fml.ModLoadingException: Missing License Information in file Mod File: C:\_gdl\instances\1.16.4-forge-20210102\mods\smooth-scrolling-everywhere-1.3.jar
	at net.minecraftforge.fml.ModLoader.lambda$new$4(ModLoader.java:121) ~[forge:?]
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_242]
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_242]
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_242]
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[?:1.8.0_242]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_242]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_242]
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:1.8.0_242]
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:1.8.0_242]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_242]
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) ~[?:1.8.0_242]
	at net.minecraftforge.fml.ModLoader.<init>(ModLoader.java:122) ~[forge:?]
	at net.minecraftforge.fml.ModLoader.get(ModLoader.java:148) ~[forge:?]
	at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$1(ClientModLoader.java:103) ~[forge:?]
	at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:123) ~[forge:?]
	at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:103) ~[forge:?]
	at net.minecraft.client.Minecraft.<init>(Minecraft.java:437) ~[?:?]
	at net.minecraft.client.main.Main.main(Main.java:149) ~[1.16.4.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_242]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_242]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
	at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) ~[forge-1.16.4-35.1.28.jar:35.1]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.6.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.6.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.6.jar:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.6.jar:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.6.jar:?]

Also, there's a NoSuchMethodException (repeatedly) on the error screen:

[02Jan2021 23:56:42.722] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: java.lang.NoSuchMethodException: net.minecraft.client.gui.widget.list.AbstractList.getScrollbarPosition()
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at java.lang.Class.getDeclaredMethod(Class.java:2130)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at me.shedaniel.smoothscrollingeverywhere.CustomAbstractList.renderScrollbar(CustomAbstractList.java:155)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at net.minecraft.client.gui.widget.list.AbstractList.func_230430_a_(AbstractList.java:227)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at net.minecraftforge.fml.client.gui.screen.LoadingErrorScreen.func_230430_a_(LoadingErrorScreen.java:103)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:290)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:491)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at net.minecraft.client.main.Main.main(Main.java:184)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at java.lang.reflect.Method.invoke(Method.java:498)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at cpw.mods.modlauncher.Launcher.run(Launcher.java:82)
[02Jan2021 23:56:42.723] [Render thread/INFO] [STDERR/]: [me.shedaniel.smoothscrollingeverywhere.CustomAbstractList:renderScrollbar:192]: 	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)

2021-01-02-1.log.gz
crash-2021-01-02_23.47.17-fml.txt

Add support for Forge 28.0.75

Awesome mod, great work.
It does not work with later versions of Forge.
Could you make it compatible with newest version please?
Thanks.

Doesn't support YetAnotherConfigLib

It seems like SSE doesn't support YetAnotherConfigLib which is used by Debugify, Zoomify and other mods. Scrolling in their menu is default and not smooth.

Wrong scrolling using the touchpad.

For a computer mouse, the mod works great, however from time to time I have to use the touchpad to scroll. The touchpad on my laptop already has a smooth scrolling feature, and when I use it in place with a mod, the pages scroll strangely. Is there some way to fix this so that I can use both the mouse and touchpad?

I use v3.0.3-unstable

Hangs with v2.4 and Chat Bubbles mod

Steps to reproduce:

  1. Install SSE v2.4 and the Chat Bubbles mod in a MC 1.15.x Fabric profile.
  2. Start MC and go into your keybindings settings (or any other GUI which is scrollable, e.g. the modmenu one, if enough mods are installed).
  3. Notice the 2-5 seconds hang. It only occurs the first time you open such a scrollable UI though, after that it works fine until you restart the game again.

Notes:
The Chat Bubbles mod seems unsupported, I know. But the latest version still works with 1.15.x, and it also works with SSE v2.3. It may not be that easy to figure out what caused it, as Chat Bubbles is closed source, but judging from the very few changes v2.4 actually made, maybe you can find the time to figure it out. Thanks!

v2.4 occasionally hangs

Steps to reproduce:

  1. Install SSE v2.4 in a MC 1.15.x Fabric profile.
  2. Start MC and go into your keybindings settings (or any other GUI which is scrollable, e.g. the modmenu one, if enough mods are installed).
  3. Notice the 2-5 seconds hang. It only occurs the first time you open such a scrollable UI though, after that it works fine until you restart the game again. It has a ~50% chance of happening.

How it should work:
2020-03-31-17-42-41

What happens 50% of the time:
2020-03-31-17-43-28

Notes:
It's exactly the same as described in my previous issue, #9. Only that this time it's not related to another mod and it only happens around 50% of the time.

Add option to disable animations

When scrolling with certain trackpads (e.g. apple's), they seem to send a lot more scroll events than your animation code can handle, resulting in jumpy scrolling. In fact, I think they send so many events that you shouldn't need to animate anything at all.

So an easy fix would be to add an option to disable animations entirely while keeping the overscrolling feature. Of course, it would be even better if it would just always work, so I'd still have smooth scrolling with my external mouse's wheel.

1.18.1?

I want this mod to support 1.18.1 :)

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.