Does anyone has any idea of how to make Shadow Items in 1.18

This page summarizes the projects mentioned and recommended in the original post on /r/technicalminecraft

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Enigma

    This is a fork of cuchaz's Enigma, a deobfuscation/remapping tool for Java software.

  • I thought about maybe I can find it myself by checking the 1.18's source code. I tried to get this source code, but enigma(https://github.com/FabricMC/Enigma) is not supporting 1.18 (I'm not able to use enigma to get the source code on my computer). So I have no idea how Mojang patched Item Shadowing in 1.17, and how to overcome this problem.

  • MCP-Reborn

    MCP-Reborn is an MCP (Mod Coder Pack) for Minecraft for making modded clients and researching its code. (1.13-1.20.1)

  • I have no clue how item shadowing in 1.18 is possible but if you want to have a look at the source code you could try MCP Reborn which even allows you to modify the code and run it easily, though not all variables are deobfuscated. You can also use the official obfuscation mappings to manually decompile Minecraft (wiki article or use DecompilerMC to automate that task (with this method afaik nothing is obfuscated but there is no function to run the code. It would probably be quite easy to port the gradle tasks from MCP reborn or create your own but I’m not a Java dev so I’m not sure)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • DecompilerMC

    This repository allows you to decompile any minecraft version that was published after 19w36a without any 3rd party mappings, you just need to execute the script or the executable (see releases)! Thanks mojang to have published proguard mappings

  • I have no clue how item shadowing in 1.18 is possible but if you want to have a look at the source code you could try MCP Reborn which even allows you to modify the code and run it easily, though not all variables are deobfuscated. You can also use the official obfuscation mappings to manually decompile Minecraft (wiki article or use DecompilerMC to automate that task (with this method afaik nothing is obfuscated but there is no function to run the code. It would probably be quite easy to port the gradle tasks from MCP reborn or create your own but I’m not a Java dev so I’m not sure)

  • carpet-fixes

    fabric-carpet extension mod which attempts to fix as many vanilla minecraft bugs as possible. Feel free to add as many fixes as you want! Currently 220+ Fixes!

  • Shadowing still works up to 1.17.1 and it was patched in 1.18 as far as I know, someone please correct me if I am wrong. There is a mod to unpatch it in the carpet extension Carpet-Fixes

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts