java.lang.ClassCastException: class techreborn.blockentity.machine.tier1.GreenhouseControllerBlockEntity cannot be cast to class net.minecraft.class_2624 (techreborn.blockentity.machine.tier1.GreenhouseControllerBlockEntity and net.minecraft.class_2624 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @3159c4b8)
at com.t2pellet.strawgolem.entity.ai.GolemDeliverGoal.doDeposit(GolemDeliverGoal.java:95)
at com.t2pellet.strawgolem.entity.ai.GolemDeliverGoal.method_6268(GolemDeliverGoal.java:82)
at net.minecraft.class_4135.method_6268(class_4135.java:65)
at net.minecraft.class_1355.method_38849(class_1355.java:119)
at net.minecraft.class_1355.method_6275(class_1355.java:110)
at net.minecraft.class_1308.method_6023(class_1308.java:753)
at net.minecraft.class_1309.method_6007(class_1309.java:2641)
at net.minecraft.class_1308.method_6007(class_1308.java:553)
at net.minecraft.class_1309.method_5773(class_1309.java:2385)
at net.minecraft.class_1308.method_5773(class_1308.java:353)
at net.minecraft.class_3218.redirect$dob000$servercore$shouldTickEntity(class_3218.java:15245)
at net.minecraft.class_3218.method_18762(class_3218.java:712)
at net.minecraft.class_1937.method_18472(class_1937.java:466)
at net.minecraft.class_3218.method_31420(class_3218.java:371)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:339)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875)
at net.minecraft.class_3176.method_3813(class_3176.java:289)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at java.base/java.lang.Thread.run(Thread.java:833)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Server thread
Stacktrace:
at com.t2pellet.strawgolem.entity.ai.GolemDeliverGoal.doDeposit(GolemDeliverGoal.java:95)
at com.t2pellet.strawgolem.entity.ai.GolemDeliverGoal.method_6268(GolemDeliverGoal.java:82)
at net.minecraft.class_4135.method_6268(class_4135.java:65)
at net.minecraft.class_1355.method_38849(class_1355.java:119)
at net.minecraft.class_1355.method_6275(class_1355.java:110)
at net.minecraft.class_1308.method_6023(class_1308.java:753)
at net.minecraft.class_1309.method_6007(class_1309.java:2641)
at net.minecraft.class_1308.method_6007(class_1308.java:553)
at net.minecraft.class_1309.method_5773(class_1309.java:2385)
at net.minecraft.class_1308.method_5773(class_1308.java:353)
at net.minecraft.class_3218.redirect$dob000$servercore$shouldTickEntity(class_3218.java:15245)
at net.minecraft.class_3218.method_18762(class_3218.java:712)
at net.minecraft.class_1937.method_18472(class_1937.java:466)
at net.minecraft.class_3218.method_31420(class_3218.java:371)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:339)
-- Entity being ticked --
Details:
Entity Type: strawgolem:strawgolem (com.t2pellet.strawgolem.entity.StrawGolem)
Entity ID: 155
Entity Name: entity.strawgolem.strawgolem
Entity's Exact location: 1640.27, 66.00, -13.32
Entity's Block location: World: (1640,66,-14), Section: (at 8,2,2 in 102,4,-1; chunk contains blocks 1632,-64,-16 to 1647,319,-1), Region: (3,-1; contains chunks 96,-32 to 127,-1, blocks 1536,-64,-512 to 2047,319,-1)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at net.minecraft.class_1937.method_18472(class_1937.java:466)
at net.minecraft.class_3218.method_31420(class_3218.java:371)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:339)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875)
at net.minecraft.class_3176.method_3813(class_3176.java:289)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at java.base/java.lang.Thread.run(Thread.java:833)
-- Affected level --
Details:
All players: 1 total; [class_3222['Jonidipp'/150, l='ServerLevel[world]', x=1627.83, y=67.75, z=-28.45]]
Chunk stats: 3287
Level dimension: minecraft:overworld
Level spawn location: World: (6,70,-54), Section: (at 6,6,10 in 0,4,-4; chunk contains blocks 0,-64,-64 to 15,319,-49), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)
Level time: 18001304 game time, 20164462 day time
Level name: world
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Level weather: Rain time: 98496 (now: false), thunder time: 102186 (now: false)
Known server brands: fabric
Level was modded: true
Level storage version: 0x04ABD - Anvil
Stacktrace:
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875)
at net.minecraft.class_3176.method_3813(class_3176.java:289)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at java.base/java.lang.Thread.run(Thread.java:833)
`---- Minecraft Crash Report ---- // Oh - I know what I did wrong!
Time: 2022-10-10 01:31:47 Description: Ticking entity
java.lang.ClassCastException: class techreborn.blockentity.machine.tier1.GreenhouseControllerBlockEntity cannot be cast to class net.minecraft.class_2624 (techreborn.blockentity.machine.tier1.GreenhouseControllerBlockEntity and net.minecraft.class_2624 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @3159c4b8) at com.t2pellet.strawgolem.entity.ai.GolemDeliverGoal.doDeposit(GolemDeliverGoal.java:95) at com.t2pellet.strawgolem.entity.ai.GolemDeliverGoal.method_6268(GolemDeliverGoal.java:82) at net.minecraft.class_4135.method_6268(class_4135.java:65) at net.minecraft.class_1355.method_38849(class_1355.java:119) at net.minecraft.class_1355.method_6275(class_1355.java:110) at net.minecraft.class_1308.method_6023(class_1308.java:753) at net.minecraft.class_1309.method_6007(class_1309.java:2641) at net.minecraft.class_1308.method_6007(class_1308.java:553) at net.minecraft.class_1309.method_5773(class_1309.java:2385) at net.minecraft.class_1308.method_5773(class_1308.java:353) at net.minecraft.class_3218.redirect$dob000$servercore$shouldTickEntity(class_3218.java:15245) at net.minecraft.class_3218.method_18762(class_3218.java:712) at net.minecraft.class_1937.method_18472(class_1937.java:466) at net.minecraft.class_3218.method_31420(class_3218.java:371) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:339) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875) at net.minecraft.class_3176.method_3813(class_3176.java:289) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) at java.base/java.lang.Thread.run(Thread.java:833)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head -- Thread: Server thread Stacktrace: at com.t2pellet.strawgolem.entity.ai.GolemDeliverGoal.doDeposit(GolemDeliverGoal.java:95) at com.t2pellet.strawgolem.entity.ai.GolemDeliverGoal.method_6268(GolemDeliverGoal.java:82) at net.minecraft.class_4135.method_6268(class_4135.java:65) at net.minecraft.class_1355.method_38849(class_1355.java:119) at net.minecraft.class_1355.method_6275(class_1355.java:110) at net.minecraft.class_1308.method_6023(class_1308.java:753) at net.minecraft.class_1309.method_6007(class_1309.java:2641) at net.minecraft.class_1308.method_6007(class_1308.java:553) at net.minecraft.class_1309.method_5773(class_1309.java:2385) at net.minecraft.class_1308.method_5773(class_1308.java:353) at net.minecraft.class_3218.redirect$dob000$servercore$shouldTickEntity(class_3218.java:15245) at net.minecraft.class_3218.method_18762(class_3218.java:712) at net.minecraft.class_1937.method_18472(class_1937.java:466) at net.minecraft.class_3218.method_31420(class_3218.java:371) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:339)
-- Entity being ticked -- Details: Entity Type: strawgolem:strawgolem (com.t2pellet.strawgolem.entity.StrawGolem) Entity ID: 155 Entity Name: entity.strawgolem.strawgolem Entity's Exact location: 1640.27, 66.00, -13.32 Entity's Block location: World: (1640,66,-14), Section: (at 8,2,2 in 102,4,-1; chunk contains blocks 1632,-64,-16 to 1647,319,-1), Region: (3,-1; contains chunks 96,-32 to 127,-1, blocks 1536,-64,-512 to 2047,319,-1) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: null Stacktrace: at net.minecraft.class_1937.method_18472(class_1937.java:466) at net.minecraft.class_3218.method_31420(class_3218.java:371) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:339) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875) at net.minecraft.class_3176.method_3813(class_3176.java:289) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) at java.base/java.lang.Thread.run(Thread.java:833)
-- Affected level -- Details: All players: 1 total; [class_3222['Jonidipp'/150, l='ServerLevel[world]', x=1627.83, y=67.75, z=-28.45]] Chunk stats: 3287 Level dimension: minecraft:overworld Level spawn location: World: (6,70,-54), Section: (at 6,6,10 in 0,4,-4; chunk contains blocks 0,-64,-64 to 15,319,-49), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1) Level time: 18001304 game time, 20164462 day time Level name: world Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Level weather: Rain time: 98496 (now: false), thunder time: 102186 (now: false) Known server brands: fabric Level was modded: true Level storage version: 0x04ABD - Anvil Stacktrace: at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875) at net.minecraft.class_3176.method_3813(class_3176.java:289) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) at java.base/java.lang.Thread.run(Thread.java:833)