Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.96k stars 913 forks source link

When printing a Lectren_Controller block with an NBT tag, it is possible to obtain items illegally #7143

Open KaridaLee opened 2 weeks ago

KaridaLee commented 2 weeks ago

Description

When printing the lectern and controller using the schematic, the controller can save the NBT. When destroying the lectern, it will drop items stored in NBT,This bug also exists in version 0.5.1.j

https://github.com/user-attachments/assets/c2437259-a8e9-4045-8d2c-d89c45ce95ba

Game Log

https://mclo.gs/80OBMGJ

Debug Information

Client Info ``` Create: Mod Version: 0.5.1f Forge Version: 47.3.0 Minecraft Version: 1.20.1 Graphics: Flywheel Version: 0.6.10-7 Flywheel Backend: INSTANCING OpenGL Renderer: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 OpenGL Version: 4.6.0 NVIDIA 565.90 Graphics Mode: 图像品质 System Information: Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.2, Oracle Corporation JVM Flags: 11 total; -Xmx6933m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32m -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:-DontCompileHugeMethods -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump Memory: 1138916072 bytes (1086 MiB) / 3019898880 bytes (2880 MiB) up to 7281311744 bytes (6944 MiB) CPU: 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz @ 3.11 GHz; 4 cores / 8 threads on 1 socket(s) Graphics card #0: Intel(R) Iris(R) Xe Graphics (Intel Corporation (0x8086)); 1024.00 MB of VRAM Graphics card #1: NVIDIA GeForce RTX 2060 SUPER (NVIDIA (0x10de)); 4095.00 MB of VRAM Graphics card #2: NVIDIA GeForce MX450 (NVIDIA (0x10de)); 2048.00 MB of VRAM Other Mods: YDM's Weapon Master: 4.2.3 Man of Many Planes: 0.1.0+1.20.1 KumaAPI: 20.1.8 Easy Anvils: 8.0.2 Embeddium++: 1.2.13 Open Parties and Claims: 0.23.2 GeckoLib 4: 4.4.7 Client Reset Packet: 0.0.6 Loading Backgrounds: 1.5.0 Immersive Aircraft: 1.0.1+1.20.1 Sophisticated Core: 0.6.22.611 Rubidium (Embeddium): 0.7.1 Create Jetpack: 4.2.1 Elytra physics: 2.0 Xaero's World Map: 1.38.8 JRFTL: 1.6.0 Prism: 1.0.5 ModernFix: 5.19.4+mc1.20.1 ReForgedPlay Mod: 0.3.1 Create: Central Kitchen: 1.3.12 Forgematica: 0.1.7-mc1.20.1 MixinExtras: 0.2.0 Culinary Construct: 5.2.1+1.20.1 Sophisticated Backpacks: 3.20.5.1044 Create: Dragon Lib: 1.4.3 Tweakerge: 0.1.5-mc1.20.1 Panoramica: 1.2.1 Pick Up Notifier: 8.0.0 Create: Steam 'n' Rails: 1.6.4+forge-mc1.20.1 Balm: 7.3.7 Carry On: 2.1.2.7 Create: Interiors: 0.5.4+forge-mc1.20.1 Cloth Config v10 API: 11.1.118 Refined Storage: 1.12.4 Konkrete: 1.8.0 Embeddium: 0.3.30+mc1.20.1 Air Hop: 8.0.2 Diagonal Blocks: 8.0.5 Deepslate Generator: 1.1.0 Farmer's Delight: 1.20.1-1.2.4 Fast IP Ping: 1.0.5 Better Tags: 1.20.1-1.1 FTB Ranks: 2001.1.3 MaFgLib: 0.1.13-mc1.20.1 Highlighter: 1.1.9 Bobby Reforged: 5.0.0 spark: 1.10.53 Curios API: 5.9.1+1.20.1 Sword Blocking Mechanics: 8.0.1 Oculus: 1.7.0 In-Game Account Switcher: 9.0.0 Replay Mod: 2.6.18 FTB Ultimine: 2001.1.5 WorldEdit: 7.2.15+6463-5ca4dff Create Liquid Fuel: 2.1.1-1.20.1 Construction Wand: 1.20.1-2.11 Inventory Profiles Next: 1.10.10 MrCrayfish's Furniture Mod: 7.0.0-pre36 Architectury: 9.2.14 Flight Lib: 2.1.0 Jade Addons: 5.3.0+forge L2 Library: 2.4.11 FTB Library: 2001.2.4 Oculus Flywheel Compat: 1.1.3 CustomSkinLoader: 14.20 Create: Copycats+: 2.1.2+mc.1.20.1-forge Create cobblestone: 1.3.2+forge-1.20.1-38 Just Enough Items: 15.12.3.54 Visual Workbench: 8.0.0 Waystones: 14.1.4 Weapon Throw: 1.20.1-6.0-beta.1 Item Borders: 1.2.1 Puzzles Access Api: 8.0.7 It's The Little Things: 2.2.1 libIPN: 4.0.2 ItemPhysicLite: 1.6.4 Create Sifter: 1.20.1-1.8.1.e-22 Jade: 11.9.4+forge Shoulder Surfing Reloaded: 1.20.1-4.3.1 CreativeCore: 2.11.34 SpectreLib: 0.13.14+1.20.1 Kotlin For Forge: 4.11.0 Iceberg: 1.1.21 Xaero's Minimap: 24.3.0 Rock'n Roller: 0.1.4-mc1.20.1 Diagonal Fences: 8.1.4 Just Enough Characters: 4.5.11 Caged Mobs: 1.20.1-2.0.5 AppleSkin: 2.5.1+mc1.20.1 Ferrite Core: 6.0.1 Puzzles Lib: 8.1.21 BetterF3: 7.0.2 Crabber's Delight: 1.1.7 Packet Fixer: 1.4.2 IMBlocker: 4.0.5 Fruits Delight: 1.0.11 Create Crafts & Additions: 1.20.1-1.2.4d ```
Server Info ``` Create: Mod Version: 0.5.1f Forge Version: 47.3.0 Minecraft Version: 1.20.1 System Information: Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.2, Oracle Corporation JVM Flags: 11 total; -Xmx6933m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32m -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:-DontCompileHugeMethods -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump Memory: 1138916072 bytes (1086 MiB) / 3019898880 bytes (2880 MiB) up to 7281311744 bytes (6944 MiB) CPU: 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz @ 3.11 GHz; 4 cores / 8 threads on 1 socket(s) Graphics card #0: Intel(R) Iris(R) Xe Graphics (Intel Corporation (0x8086)); 1024.00 MB of VRAM Graphics card #1: NVIDIA GeForce RTX 2060 SUPER (NVIDIA (0x10de)); 4095.00 MB of VRAM Graphics card #2: NVIDIA GeForce MX450 (NVIDIA (0x10de)); 2048.00 MB of VRAM Other Mods: YDM's Weapon Master: 4.2.3 Man of Many Planes: 0.1.0+1.20.1 KumaAPI: 20.1.8 Easy Anvils: 8.0.2 Embeddium++: 1.2.13 Open Parties and Claims: 0.23.2 GeckoLib 4: 4.4.7 Client Reset Packet: 0.0.6 Loading Backgrounds: 1.5.0 Immersive Aircraft: 1.0.1+1.20.1 Sophisticated Core: 0.6.22.611 Rubidium (Embeddium): 0.7.1 Create Jetpack: 4.2.1 Elytra physics: 2.0 Xaero's World Map: 1.38.8 JRFTL: 1.6.0 Prism: 1.0.5 ModernFix: 5.19.4+mc1.20.1 ReForgedPlay Mod: 0.3.1 Create: Central Kitchen: 1.3.12 Forgematica: 0.1.7-mc1.20.1 MixinExtras: 0.2.0 Culinary Construct: 5.2.1+1.20.1 Sophisticated Backpacks: 3.20.5.1044 Create: Dragon Lib: 1.4.3 Tweakerge: 0.1.5-mc1.20.1 Panoramica: 1.2.1 Pick Up Notifier: 8.0.0 Create: Steam 'n' Rails: 1.6.4+forge-mc1.20.1 Balm: 7.3.7 Carry On: 2.1.2.7 Create: Interiors: 0.5.4+forge-mc1.20.1 Cloth Config v10 API: 11.1.118 Refined Storage: 1.12.4 Konkrete: 1.8.0 Embeddium: 0.3.30+mc1.20.1 Air Hop: 8.0.2 Diagonal Blocks: 8.0.5 Deepslate Generator: 1.1.0 Farmer's Delight: 1.20.1-1.2.4 Fast IP Ping: 1.0.5 Better Tags: 1.20.1-1.1 FTB Ranks: 2001.1.3 MaFgLib: 0.1.13-mc1.20.1 Highlighter: 1.1.9 Bobby Reforged: 5.0.0 spark: 1.10.53 Curios API: 5.9.1+1.20.1 Sword Blocking Mechanics: 8.0.1 Oculus: 1.7.0 In-Game Account Switcher: 9.0.0 Replay Mod: 2.6.18 FTB Ultimine: 2001.1.5 WorldEdit: 7.2.15+6463-5ca4dff Create Liquid Fuel: 2.1.1-1.20.1 Construction Wand: 1.20.1-2.11 Inventory Profiles Next: 1.10.10 MrCrayfish's Furniture Mod: 7.0.0-pre36 Architectury: 9.2.14 Flight Lib: 2.1.0 Jade Addons: 5.3.0+forge L2 Library: 2.4.11 FTB Library: 2001.2.4 Oculus Flywheel Compat: 1.1.3 CustomSkinLoader: 14.20 Create: Copycats+: 2.1.2+mc.1.20.1-forge Create cobblestone: 1.3.2+forge-1.20.1-38 Just Enough Items: 15.12.3.54 Visual Workbench: 8.0.0 Waystones: 14.1.4 Weapon Throw: 1.20.1-6.0-beta.1 Item Borders: 1.2.1 Puzzles Access Api: 8.0.7 It's The Little Things: 2.2.1 libIPN: 4.0.2 ItemPhysicLite: 1.6.4 Create Sifter: 1.20.1-1.8.1.e-22 Jade: 11.9.4+forge Shoulder Surfing Reloaded: 1.20.1-4.3.1 CreativeCore: 2.11.34 SpectreLib: 0.13.14+1.20.1 Kotlin For Forge: 4.11.0 Iceberg: 1.1.21 Xaero's Minimap: 24.3.0 Rock'n Roller: 0.1.4-mc1.20.1 Diagonal Fences: 8.1.4 Just Enough Characters: 4.5.11 Caged Mobs: 1.20.1-2.0.5 AppleSkin: 2.5.1+mc1.20.1 Ferrite Core: 6.0.1 Puzzles Lib: 8.1.21 BetterF3: 7.0.2 Crabber's Delight: 1.1.7 Packet Fixer: 1.4.2 IMBlocker: 4.0.5 Fruits Delight: 1.0.11 Create Crafts & Additions: 1.20.1-1.2.4d ```
IThundxr commented 1 week ago

How does it drop the items it aint working in 0.5.1.j it only drops the linked controller no items

This is not the place to try to find bugs you can abuse.