I am trying to make a mob in Bukkit, just using hte Dev Snapshot, no minecraft packages, nothing. I am not getting any errors, but that is what I am afraid of. Look at the starting code I have.
package com.carbonjuice.moddev.WoWCraft;
import org.bukkit.entity.Animals;
public interface Kodo extends Animals {
}
Then:
package com.carbonjuice.moddev.WoWCraft;
import org.bukkit.entity.Animals;
public interface Kodo extends Animals {
boolean setBreed = true;
void setBreed (boolean setBreed);
}
After:
package com.carbonjuice.moddev.WoWCraft;
import org.bukkit.entity.Animals;
public interface Kodo extends Animals {
void setBreed (boolean setBreed);
}
No boolean, but the code still works. Why? Am I doing something wrong? Help me!
Are you trying to implement a new mob to the game because if you are, you can not use Bukkit. You will need to give the players the texture file for the mob( which in this case I believe is "Kodo"). In order to add a new mob to the game you will need to make a mod which add the size of the mob, the mob's action, the texture, ect.. Or if you already have the mob in the game and you just want to spawn it into the game using a plugin, as walterhiggins said, use that code to spawn the mob into the game.
Correct me if I am wrong but Bukkit is for plugin support. Bukkit does not implement any new mob or anything related to that. It add plugins like Jail and Mob arena.
Then:
After:
No boolean, but the code still works. Why? Am I doing something wrong? Help me!
Correct me if I am wrong but Bukkit is for plugin support. Bukkit does not implement any new mob or anything related to that. It add plugins like Jail and Mob arena.