Jump to content

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


Recommended Posts

Posted (edited)
12 minutes ago, Animefan8888 said:

 

^^^

well, fuck.

 

so i need to make a world based tick delay of 200, let's go. so i finally need An event handler class?

Edited by Gess1t
Posted
8 minutes ago, Gess1t said:

so i need to make a world based tick delay of 200, let's go

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

Posted

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?

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.