CommandHelper

CommandHelper

46.5k Downloads

tame_mob(), etc

LadyCailinBot opened this issue ยท 2 comments

commented

CMDHELPER-2792 - Reported by DeadFred

--The [documentation|http://wiki.sk89q.com/wiki/CommandHelper/Staged/API/tame_mob] states that this function will only work for dogs and cats, it however also works for horses.--

Furthermore it would make sense to change this function to set_mob_owner() instead of tame_mob() to match get_mob_owner().

Back to the topic of documentation, I think these 2 functions, is_tameable() and maybe even spawn_mob() should be moved from the Minecraft category to the EntityManagement category.

commented

Comment by PseudoKnight

Fixed documentation. I don't think we'll change the function names, but moving functions into appropriate categories may happen. That's sort of a general issue, though.

commented

Comment by jb_aero

I was actually going to change it to set_mob_owner and add tame_mob as a deprecated version, but I realized at the time that it would be more convenient to do after the UUID commit got pulled.