Carpet Shadow

Carpet Shadow

11.9k Downloads

Shadow item dupe on opening inventory

Zhuravl21 opened this issue ยท 3 comments

commented

MC-1.20.1
Mods:
image
Demonstration:
https://youtu.be/x_NYpHidzc8
Log:

[12:19:12] [Server thread/WARN]: New Shadow Item Created
[12:19:12] [Server thread/ERROR]: Failed to handle packet net.minecraft.class_2813@444b5537, suppressing error
net.minecraft.class_148: Container click
	at net.minecraft.class_1703.method_7593(class_1703.java:304) ~[client-intermediary.jar:?]
	at net.minecraft.class_3244.method_12076(class_3244.java:1682) ~[client-intermediary.jar:?]
	at net.minecraft.class_2813.method_12191(class_2813.java:58) ~[client-intermediary.jar:?]
	at net.minecraft.class_2813.method_11054(class_2813.java:13) ~[client-intermediary.jar:?]
	at net.minecraft.class_2600.method_11072(class_2600.java:22) ~[client-intermediary.jar:?]
	at net.minecraft.class_3738.run(class_3738.java:18) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.method_18859(class_1255.java:156) ~[client-intermediary.jar:?]
	at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:782) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:164) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.method_16075(class_1255.java:130) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:764) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:758) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.method_18857(class_1255.java:139) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:743) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.handler$zbf000$carpet$modifiedRunLoop(MinecraftServer.java:7951) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:650) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[client-intermediary.jar:?]
	at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.lang.ClassCastException: class net.minecraft.class_3722 cannot be cast to class net.minecraft.class_1263 (net.minecraft.class_3722 and net.minecraft.class_1263 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @10bdf5e5)
	at net.minecraft.class_2480.method_9572(class_2480.java:266) ~[client-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26176(class_4970.java:989) ~[client-intermediary.jar:?]
	at net.minecraft.class_2286.method_9991(class_2286.java:103) ~[client-intermediary.jar:?]
	at net.minecraft.class_2286.method_9773(class_2286.java:54) ~[client-intermediary.jar:?]
	at net.minecraft.class_2286.method_9998(class_2286.java:146) ~[client-intermediary.jar:?]
	at net.minecraft.class_2312.method_9612(class_2312.java:83) ~[client-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26181(class_4970.java:1081) ~[client-intermediary.jar:?]
	at net.minecraft.class_7165.handler$zpg000$carpet-fixes$catchNeighborUpdates(class_7165.java:532) ~[client-intermediary.jar:?]
	at net.minecraft.class_7165.method_41708(class_7165.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_7164.method_41703(class_7164.java:29) ~[client-intermediary.jar:?]
	at net.minecraft.class_3218.method_41410(class_3218.java:1033) ~[client-intermediary.jar:?]
	at net.minecraft.class_1937.method_8455(class_1937.java:853) ~[client-intermediary.jar:?]
	at net.minecraft.class_2586.method_31663(class_2586.java:155) ~[client-intermediary.jar:?]
	at net.minecraft.class_2586.method_5431(class_2586.java:147) ~[client-intermediary.jar:?]
	at net.minecraft.class_2621.redirect$cep000$fabric-transfer-api-v1$fabric_redirectMarkDirty(class_2621.java:543) ~[client-intermediary.jar:?]
	at net.minecraft.class_2621.method_5447(class_2621.java:128) ~[client-intermediary.jar:?]
	at net.minecraft.class_1735.method_7673(class_1735.java:72) ~[client-intermediary.jar:?]
	at net.minecraft.class_1735.method_48931(class_1735.java:63) ~[client-intermediary.jar:?]
	at net.minecraft.class_1703.method_30010(class_1703.java:471) ~[client-intermediary.jar:?]
	at net.minecraft.class_1703.mixinextras$bridge$6$method_30010(class_1703.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_1703.wrapOperation$bih000$carpet-shadow$handle_shadowing(class_1703.java:3399) ~[client-intermediary.jar:?]
	at net.minecraft.class_1703.method_7593(class_1703.java:294) ~[client-intermediary.jar:?]
	... 18 more

Also i had some issues with item shadowing using update skipper that uses redstone and trapdor, but i think its on carpet-fixes side

commented

that's listed in the KNOWN BUGS
section.
and has been for a while

opening the creative menu creates a copy of all items in you inventory, therefore duplicates them.

i have not been able to find a solution previously, and i'm not in a position to be able to work on the mod for the time beeing.

simply do not open the creative inventory if you have shadow stacks in it.

always store them in a chest or shulker

commented

first ever issue yey
also check this out
https://youtu.be/H-BQTnH4DuI

commented

Sorry about that