#Add Attribute to All Entities
9 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
EntityEvents.spawned((event) => {
let entity = event.entity;
if (entity.isLiving()) {
entity.getAttribute('attributeslib:fire_damage').baseValue = 1;
}
});```
Ticket re-opened!
Hoping to keep this open so someone might find a way to allow me to do this without having to set it to a number larger than 0
??kjsaddons
EntityJS is an addon that allows you to create custom entities with KubeJS.