Update README.md
This commit is contained in:
		
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							@@ -5,22 +5,22 @@ Because many mods (sprint, 3d_armor and others) rewrite the stats in their corne
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## API
 | 
					## API
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 - player_physics.set_stats(player, "uniq_name", table)
 | 
					 - `player_physics.set_stats(player, "uniq_name", table)`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 - player_physics.remove_stats(player, "uniq_name")
 | 
					 - `layer_physics.remove_stats(player, "uniq_name")`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## API examples
 | 
					## API examples
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 - player_physics.set_stats(player, "potion_speedlvl1", {speed=0.35})
 | 
					 - `player_physics.set_stats(player, "potion_speedlvl1", {speed=0.35})`
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 - player_physics.set_stats(player, "sprint_mod", {speed=0.35, jump=0.1})
 | 
					 - `player_physics.set_stats(player, "sprint_mod", {speed=0.35, jump=0.1})`
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 - player_physics.remove_stats(player, "potion_speedlvl1")
 | 
					 - `player_physics.remove_stats(player, "potion_speedlvl1")`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Temporary effect
 | 
					## Temporary effect
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 - player_physics.add_effect(player, "uniq_name", time, stats)
 | 
					 - `player_physics.add_effect(player, "uniq_name", time, stats)`
 | 
				
			||||||
 - player_physics.remove_effect(player, "uniq_name")
 | 
					 - `player_physics.remove_effect(player, "uniq_name")`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Code example
 | 
					## Code example
 | 
				
			||||||
You make a potion that adds speed for 10 seconds.
 | 
					You make a potion that adds speed for 10 seconds.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user