Hi, we are thinking of adding this to DarkRPG modpack but players have been getting random crashes when opening the trading stations
_universalshops-1.1.1+1.19.3
fabric-api-0.73.2+1.19.3
// Shall we play a game?
Time: 2023-02-21 03:49:55
Description: Ticking block entity
java.lang.ClassCastException: class net.minecraft.class_638 cannot be cast to class net.minecraft.class_3218 (net.minecraft.class_638 and net.minecraft.class_3218 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @13805618)
at eu.pb4.universalshops.registry.TradeShopBlockEntity.tickHolo(TradeShopBlockEntity.java:110)
at eu.pb4.universalshops.registry.TradeShopBlockEntity.tick(TradeShopBlockEntity.java:99)
at eu.pb4.universalshops.registry.TradeShopBlock.tick(TradeShopBlock.java:122)
at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
at net.minecraft.class_1937.method_18471(class_1937.java:472)
at net.minecraft.class_638.method_18116(class_638.java:256)
at net.minecraft.class_310.method_1574(class_310.java:1885)
at net.minecraft.class_310.method_1523(class_310.java:1150)
at net.minecraft.class_310.method_1514(class_310.java:781)
at net.minecraft.client.main.Main.method_44604(Main.java:244)
at net.minecraft.client.main.Main.main(Main.java:51)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.prismlauncher.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
at org.prismlauncher.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176)
at org.prismlauncher.impl.OneSixLauncher.launch(OneSixLauncher.java:186)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:144)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:74)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at eu.pb4.universalshops.registry.TradeShopBlockEntity.tickHolo(TradeShopBlockEntity.java:110)
at eu.pb4.universalshops.registry.TradeShopBlockEntity.tick(TradeShopBlockEntity.java:99)
at eu.pb4.universalshops.registry.TradeShopBlock.tick(TradeShopBlock.java:122)
at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
at net.minecraft.class_1937.method_18471(class_1937.java:472)
at net.minecraft.class_638.method_18116(class_638.java:256)
-- Block entity being ticked --
Details:
Name: universal_shops:trade_block // eu.pb4.universalshops.registry.TradeShopBlockEntity
Block: Block{universal_shops:trade_block}[attachment=down]
Block location: World: (-750,63,6035), Section: (at 2,15,3 in -47,3,377; chunk contains blocks -752,-64,6032 to -737,319,6047), Region: (-2,11; contains chunks -64,352 to -33,383, blocks -1024,-64,5632 to -513,319,6143)
Block: Block{universal_shops:trade_block}[attachment=down]
Block location: World: (-750,63,6035), Section: (at 2,15,3 in -47,3,377; chunk contains blocks -752,-64,6032 to -737,319,6047), Region: (-2,11; contains chunks -64,352 to -33,383, blocks -1024,-64,5632 to -513,319,6143)
Stacktrace:
at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
at net.minecraft.class_1937.method_18471(class_1937.java:472)
at net.minecraft.class_638.method_18116(class_638.java:256)
at net.minecraft.class_310.method_1574(class_310.java:1885)
at net.minecraft.class_310.method_1523(class_310.java:1150)
at net.minecraft.class_310.method_1514(class_310.java:781)
at net.minecraft.client.main.Main.method_44604(Main.java:244)
at net.minecraft.client.main.Main.main(Main.java:51)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.prismlauncher.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
at org.prismlauncher.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176)
at org.prismlauncher.impl.OneSixLauncher.launch(OneSixLauncher.java:186)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:144)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:74)
-- Affected level --
Details:
All players: 1 total; [class_746['JDKun11'/18387, l='ClientLevel', x=-749.11, y=63.00, z=6033.49]]
Chunk stats: 683, 683
Level dimension: minecraft:overworld
Level spawn location: World: (-32,118,-32), Section: (at 0,6,0 in -2,7,-2; chunk contains blocks -32,-64,-32 to -17,319,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,-64,-512 to -1,319,-1)
Level time: 36816 game time, 26377 day time
Server brand: fabric
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:455)
at net.minecraft.class_310.method_1587(class_310.java:2390)
at net.minecraft.class_310.method_1514(class_310.java:800)
at net.minecraft.client.main.Main.method_44604(Main.java:244)
at net.minecraft.client.main.Main.main(Main.java:51)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.prismlauncher.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
at org.prismlauncher.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176)
at org.prismlauncher.impl.OneSixLauncher.launch(OneSixLauncher.java:186)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:144)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:74)```
Hi, we are thinking of adding this to DarkRPG modpack but players have been getting random crashes when opening the trading stations _universalshops-1.1.1+1.19.3 fabric-api-0.73.2+1.19.3