3. Custom Entity API
author: Cool_Loong, Superice666
The custom entity API is in the package cn.nukkit.entity.custom
.
To create a new custom entity, you need to implement CustomEntity
interface.
Minimum Feasible Example
There must be a constructor like Entity(FullChunk chunk, CompoundTag nbt)
in your CustomEntity class,
here is a simple example:
public class MyPig extends Entity implements CustomEntity {
public final static CustomEntityDefinition def = CustomEntityDefinition.builder().identifier("powernukkitx:boar")
.summonable(true)
.spawnEgg(false)
.build();
public MyPig(FullChunk chunk, CompoundTag nbt) {
super(chunk, nbt);
}
public int getNetworkId() {
return getDefinition().getRuntimeId();
}
public CustomEntityDefinition getDefinition() {
return def;
}
public String getOriginalName() {//自定义实体显示名
return "boar";
}
}
Register Custom Entities
You can invoke Entity#registerCustomEntity(CustomEntityProvider customEntityProvider)
to register your custom entities.
CustomClassEntityProvider
is a simple implementation of CustomEntityProvider, which allows you to register a custom
entity by only its class instance. There are 2 ways to create it :
1.CustomClassEntityProvider(Class<? extends Entity> customEntityClass)
A custom entity class is required to be passed in, and there is a CustomEntityDefinition
static final field named def
in the class
2.CustomClassEntityProvider(CustomEntityDefinition customEntityDefinition, Class<? extends Entity> customEntityClass)
Requires passing in a custom entity class and the CustomEntityDefinition
of the custom entity.
Custom Human with AI
This custom entity borrows the behavior group of zombies in the PNX AI framework, and its behavior is consistent with that of zombies, which can attack players. For more information about entity AI, see the tutorial
public class MyHuman extends EntityIntelligentHuman implements CustomEntity {
public final static CustomEntityDefinition def = CustomEntityDefinition.builder().identifier("powernukkitx:human")
.summonable(false)
.spawnEgg(false)
.build(); // Entity def
public MyHuman(FullChunk chunk, CompoundTag nbt) {
super(chunk, nbt);
Skin skin = new Skin(); // Create a new skin for this entiy
skin.setTrusted(true);// Set the skin as trusted
skin.setSkinId("Standard_Custom");
skin.setSkinData(Base64.getDecoder().decode("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqHQ3/Kh0N/yQYCP8qHQ3/Kh0N/yQYCP8kGAj/HxAL/3VHL/91Ry//dUc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WX0H/ll9B/5ZfQf+Wb1v/qn1m/5ZvW/+qfWb/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="));
this.setSkin(skin);
this.getInventory().addItem(Item.get(ItemID.DIAMOND_SWORD));
}
public IBehaviorGroup requireBehaviorGroup() { // AI behaviors
return new BehaviorGroup(
this.tickSpread,
Set.of(),
Set.of(
new Behavior(new MeleeAttackExecutor(CoreMemoryTypes.ATTACK_TARGET, 0.3f, 40, true, 10), all(
new MemoryCheckNotEmptyEvaluator(CoreMemoryTypes.ATTACK_TARGET),
entity -> !entity.getMemoryStorage().notEmpty(CoreMemoryTypes.ATTACK_TARGET) || !(entity.getMemoryStorage().get(CoreMemoryTypes.ATTACK_TARGET) instanceof Player player) || player.isSurvival()
), 3, 1),
new Behavior(new MeleeAttackExecutor(CoreMemoryTypes.NEAREST_PLAYER, 0.3f, 40, false, 10), all(
new MemoryCheckNotEmptyEvaluator(CoreMemoryTypes.NEAREST_PLAYER),
entity -> {
if (entity.getMemoryStorage().isEmpty(CoreMemoryTypes.NEAREST_PLAYER))
return true;
Player player = entity.getMemoryStorage().get(CoreMemoryTypes.NEAREST_PLAYER);
return player.isSurvival();
}
), 2, 1),
new Behavior(new FlatRandomRoamExecutor(0.3f, 12, 100, false, -1, true, 10), (entity -> true), 1, 1)
),
Set.of(new NearestPlayerSensor(40, 0, 20)),
Set.of(new WalkController(), new LookController(true, true)),
new SimpleFlatAStarRouteFinder(new WalkingPosEvaluator(), this),
this
);
}
public CustomEntityDefinition getDefinition() {
return def;
}
}
© PowerNukkitX Dev team