Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/24/23 in all areas

  1. 1 point
  2. No it is not. This is why you shouldn't post code snippets in the forum. Put your full code (enough to reproduce the problem) on github. If you are just extending the default Item class (we don't know what you extend) the above line of code will return PASS on the client and the server side code will never run. So what code you are actually running is unknown. You should really be using InteractionResult.sidedSuccess(level.isClientSide) unless you really do want the code in the super class to run. As the to the integer, I assume you mean the flags found in the Block class? The destroyBlock() method you call uses 3 which is UPDATE_NEIGHBORS and UPDATE_CLIENTS. That is usually what you want unless you have special requirements.
    1 point
  3. Unfortunately I can not help you further because 1.12.2 is not supported here (it's in the rules that I cannot help with versions that aren't Latest or LTS).
    1 point
  4. The port you are trying to use is already being used by something else. Additionally 1.12.2 is no longer supported here. We only support 1.18.x and 1.19.x.
    1 point
  5. https://github.com/MinecraftForge/MinecraftForge/blob/b398f52a7f9885b2a181092d04af9679d4fb3e6b/src/main/java/net/minecraftforge/client/extensions/common/IClientItemExtensions.java#L112
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.