Make an item go invisible.

Started by Ima-builder on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make an item go invisible.

Hi, I am trying to make a super invisibility potion (with a stack size of 16) , where even the potion disappears, I thought about swiping out the potion with a dummy invisible item but I'm not quite Shure how to do that (preferably with block coding).

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So, what was that part about…
Thu, 06/18/2020 - 19:40

So, what was that part about deleting the forge thing?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh yeah sorry it is, import…
Thu, 06/18/2020 - 19:42

Oh yeah sorry it is,

import net.minecraftforge.common.MinecraftForge;

 

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MinecraftForge.EVENT_BUS…
Thu, 06/18/2020 - 19:55
MinecraftForge.EVENT_BUS.register(this);

Use that instead

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you have ResourceLocation…
Thu, 06/18/2020 - 20:27

Do you have ResourceLocation imported?

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, I do have util…
Thu, 06/18/2020 - 20:29

No, I do have util.SoundCategory if that matters.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, you need that import…
Thu, 06/18/2020 - 20:31

Well, you need that import. I dont have access to my computer anymore so, you will need to wait unless you find it

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is there anywhere you would…
Thu, 06/18/2020 - 20:33

is there anywhere you would sugest looking?

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So will this stop the…
Thu, 06/18/2020 - 20:39

So will this stop the rendering of the player for everyone, or will it still render me in f5?

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(Also i found the missing…
Thu, 06/18/2020 - 20:40

(Also i found the missing import)

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You may need to sync. But…
Thu, 06/18/2020 - 20:51

You may need to sync. But from your point of view, you will be completely invisible.

So does the game load now?

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It runs, but it didn't make…
Thu, 06/18/2020 - 20:53

It runs, but it didn't make me invisible.