Jump to content

[1.12.1] Making a mod that notify player when inventory is full


Gess1t

Recommended Posts

4 minutes ago, Gess1t said:

so now i need to fix the freezes lul

 

1 minute ago, CAS_ual_TY said:

Thread.sleep(10000);

^^^

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

well

23 minutes ago, loordgek said:

no just have a static field in your class that you count up in the method and reset after 200 ticks

@SideOnly(Side.CLIENT)
    public void TickhHandler(TickEvent.ClientTickEvent event) throws InterruptedException {
        wait(200);
    }

well, this isn't static so i suppose i failed once again?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements




×
×
  • Create New...

Important Information

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