Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

spigot disable health regeneration

    @EventHandler
    public void onPlayerRegainHealth(EntityRegainHealthEvent event) {
        if(event.getRegainReason() == RegainReason.SATIATED || event.getRegainReason() == RegainReason.REGEN)
            event.setCancelled(true);
    }
Comment

PREVIOUS NEXT
Code Example
Java :: hgjhghj 
Java :: how to select a audio from android programmaticly 
Java :: make new file in intellij for java 
Java :: set maven goals in eclipse 
Java :: Get Subarray from Array 
Java :: jmonkey shapes 
Java :: Java schleifen 
Java :: how to split string with dolor sign in java 
Java :: Creating Hashmap from Treemap 
Java :: constraint layout not matching parent in netsted scrollview 
Java :: use flatpickr in javascripot 
Java :: computeifabsent hashmap java 
Java :: android bootom app bar tab bar 
Java :: validate text field netbeans emails 
Java :: Java @SuppressWarnings Annotation Example 
Java :: firebase persistence enable android 
Java :: dialog background dimming in android 
Java :: call method without creating object java 
Java :: java code to get all leaf nodes of a xml file 
Java :: Java Method Overloading by changing the data type of parameters 
Java :: last block incomplete in decryption 
Java :: 13 live 
Java :: spring-boot java header Content-Type constant 
Java :: android how to change focus on confirm button on keyboard 
Java :: how to clear cli screen 
Java :: Java create an object of the static class Mammal 
Java :: 2d matrix 
Java :: java was started but returned exit code=13 
Java :: Java Program to Print Spiral Pattern of Numbers 
Java :: deps-jar 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =