|  | @@ -98,7 +98,6 @@ import net.minecraft.nbt.JsonToNBT;
 | 
	
		
			
				|  |  |  import net.minecraft.nbt.NBTUtil;
 | 
	
		
			
				|  |  |  import net.minecraft.network.play.client.CChatMessagePacket;
 | 
	
		
			
				|  |  |  import net.minecraft.network.play.client.CClientStatusPacket;
 | 
	
		
			
				|  |  | -import net.minecraft.network.play.server.SEntityVelocityPacket;
 | 
	
		
			
				|  |  |  import net.minecraft.network.play.server.SPlaySoundEffectPacket;
 | 
	
		
			
				|  |  |  import net.minecraft.network.play.server.SSpawnPositionPacket;
 | 
	
		
			
				|  |  |  import net.minecraft.network.play.server.STitlePacket;
 | 
	
	
		
			
				|  | @@ -1169,7 +1168,6 @@ public class MinecraftFunctions
 | 
	
		
			
				|  |  |          sm.registerFunction("entity.getlocation", (sc, in) -> new Location((Entity) in[0].get(sc)));   
 | 
	
		
			
				|  |  |          sm.registerFunction("entity.damage", (sc, in) -> 
 | 
	
		
			
				|  |  |          { 
 | 
	
		
			
				|  |  | -            // entity.damage(entity, damagefloat, DamageSource);
 | 
	
		
			
				|  |  |              if(in.length >= 3)
 | 
	
		
			
				|  |  |              {
 | 
	
		
			
				|  |  |                  ((LivingEntity) in[0].get(sc)).attackEntityFrom((DamageSource) in[2].get(sc), in[1].getFloat(sc));
 | 
	
	
		
			
				|  | @@ -2388,8 +2386,13 @@ public class MinecraftFunctions
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |          
 | 
	
		
			
				|  |  |          // ---------------------------------------------------------------------    
 | 
	
		
			
				|  |  | -        // Ohne library
 | 
	
		
			
				|  |  | +        // no library
 | 
	
		
			
				|  |  |          // ---------------------------------------------------------------------   
 | 
	
		
			
				|  |  | +        sm.registerFunction("setmotd", (sc, in) -> 
 | 
	
		
			
				|  |  | +        {        
 | 
	
		
			
				|  |  | +            server.getServerStatusResponse().setServerDescription(new StringTextComponent(in[0].getString(sc)));
 | 
	
		
			
				|  |  | +            return Void.TYPE; 
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  |          sm.registerFunction("getglobalvar", (sc, in) -> 
 | 
	
		
			
				|  |  |          {         
 | 
	
		
			
				|  |  |              Object o = in[0].get(sc);
 |