Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement custom int tracker (Should fix #14) #15

Merged
merged 1 commit into from Nov 21, 2019

Conversation

@HyCraftHD
Copy link

HyCraftHD commented Nov 20, 2019

Here is a working example on a dedicated server:
image

@Edivad99

This comment has been minimized.

Copy link
Owner

Edivad99 commented Nov 21, 2019

It gives me this error as soon as I open the GUI.
java.lang.Error: Unresolved compilation problem: The field Container.listeners is not visible at edivad.solargeneration.blocks.containers.TrackedContainer.detectAndSendChanges(TrackedContainer.java:45) ~[?:?] {re:classloading} at net.minecraft.inventory.container.Container.addListener(Container.java:98) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraftforge.fml.network.NetworkHooks.openGui(NetworkHooks.java:194) ~[?:?] {re:classloading} at net.minecraftforge.fml.network.NetworkHooks.openGui(NetworkHooks.java:154) ~[?:?] {re:classloading} at edivad.solargeneration.blocks.SolarPanel.onBlockActivated(SolarPanel.java:95) ~[?:?] {re:classloading} at net.minecraft.block.BlockState.onBlockActivated(BlockState.java:296) ~[?:?] {re:classloading} at net.minecraft.server.management.PlayerInteractionManager.func_219441_a(PlayerInteractionManager.java:331) ~[?:?] {re:classloading} at net.minecraft.network.play.ServerPlayNetHandler.processTryUseItemOnBlock(ServerPlayNetHandler.java:870) ~[?:?] {re:classloading} at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:42) ~[?:?] {re:classloading} at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:12) ~[?:?] {re:classloading} at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[?:?] {re:classloading} at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) ~[?:?] {re:classloading} at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) ~[?:?] {re:classloading} at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:726) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:720) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.concurrent.ThreadTaskExecutor.drainTasks(ThreadTaskExecutor.java:97) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.runScheduledTasks(MinecraftServer.java:705) ~[?:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:650) ~[?:?] {re:classloading,pl:accesstransformer:B} at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_212] {}

@HyCraftHD

This comment has been minimized.

Copy link
Author

HyCraftHD commented Nov 21, 2019

You need to rerun ./gradlew genEclipseRuns eclipse or the intellij thing, because I added an at transformer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.