java.lang.IllegalArgumentException: Cannot get property PropertyEnum{name=modem, clazz=class dan200.computercraft.shared.peripheral.common.BlockCableModemVariant, values=[none, down_off, up_off, north_off, south_off, west_off, east_off, down_on, up_on, north_on, south_on, west_on, east_on, down_off_peripheral, up_off_peripheral, north_off_peripheral, south_off_peripheral, west_off_peripheral, east_off_peripheral, down_on_peripheral, up_on_peripheral, north_on_peripheral, south_on_peripheral, west_on_peripheral, east_on_peripheral]} as it does not exist in BlockState{block=minecraft:air, properties=[]}
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via GitHub by inklit
, 1 year agovia GitHub by Razkel
, 2 years agovia GitHub by winsrp
, 1 year agovia GitHub by darkhax
, 1 year agovia GitHub by GIGAAj1
, 1 year agovia GitHub by chocolateBit
, 1 year agojava.lang.IllegalArgumentException: Cannot get property PropertyEnum{name=modem, clazz=class dan200.computercraft.shared.peripheral.common.BlockCableModemVariant, values=[none, down_off, up_off, north_off, south_off, west_off, east_off, down_on, up_on, north_on, south_on, west_on, east_on, down_off_peripheral, up_off_peripheral, north_off_peripheral, south_off_peripheral, west_off_peripheral, east_off_peripheral, down_on_peripheral, up_on_peripheral, north_on_peripheral, south_on_peripheral, west_on_peripheral, east_on_peripheral]} as it does not exist in BlockState{block=minecraft:air, properties=[]}
at net.minecraft.block.state.BlockState$StateImplementation.func_177229_b(BlockState.java:67)
at dan200.computercraft.shared.peripheral.modem.TileCable.getDirection(TileCable.java:267)
at dan200.computercraft.shared.peripheral.modem.TileCable$1.getDirection(TileCable_Patch.java:51)
at org.squiddev.cctweaks.core.network.cable.SingleModemCable.canConnectInternally(SingleModemCable.java:14)
at org.squiddev.cctweaks.core.network.cable.CableWithInternalSidedParts.updateInternalConnectionMap(CableWithInternalSidedParts.java:22)
at org.squiddev.cctweaks.core.network.cable.CableWithInternalSidedParts.updateConnections(CableWithInternalSidedParts.java:37)
at org.squiddev.cctweaks.core.network.cable.BasicCable.connect(BasicCable.java:72)
at org.squiddev.cctweaks.core.network.cable.SingleModemCable.connect(SingleModemCable.java:19)
at dan200.computercraft.shared.peripheral.modem.TileCable$3.run(TileCable_Patch.java:143)
at org.squiddev.cctweaks.core.McEvents.onServerTick(McEvents.java:121)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_14_McEvents_onServerTick_ServerTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:106)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:78)
at net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:266)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:594)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
at java.lang.Thread.run(Thread.java:745)