mirror of
				https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
				synced 2025-10-31 16:49:15 +00:00 
			
		
		
		
	Add setSheared() to Sheep and setSize() to Slimes.
This commit is contained in:
		
							parent
							
								
									04cddaa47a
								
							
						
					
					
						commit
						3be580aa61
					
				
					 2 changed files with 20 additions and 2 deletions
				
			
		|  | @ -11,5 +11,14 @@ import org.bukkit.material.Colorable; | |||
|  * | ||||
|  */ | ||||
| public interface Sheep extends Animals, Colorable { | ||||
| 
 | ||||
|     /** | ||||
|      * @author Celtic Minstrel | ||||
|      * @return Whether the sheep is sheared. | ||||
|      */ | ||||
|     public boolean isSheared(); | ||||
|     /** | ||||
|      * @author Celtic Minstrel | ||||
|      * @param flag Whether to shear the sheep | ||||
|      */ | ||||
|     public void setSheared(boolean flag); | ||||
| } | ||||
|  |  | |||
|  | @ -10,5 +10,14 @@ package org.bukkit.entity; | |||
|  * | ||||
|  */ | ||||
| public interface Slime extends LivingEntity { | ||||
| 
 | ||||
|     /** | ||||
|      * @author Celtic Minstrel | ||||
|      * @return The size of the slime | ||||
|      */ | ||||
|     public int getSize(); | ||||
|     /** | ||||
|      * @author Celtic Minstrel | ||||
|      * @param sz The new size of the slime. | ||||
|      */ | ||||
|     public void setSize(int sz); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Celtic Minstrel
						Celtic Minstrel