CommonAddedEvents.entityTame(event => {
console.log('Entity Tame event fired!');
console.log(event);
if(event.entity.type === 'minecraft:wolf') {
console.log('TAMED WOLF');
}
});
Goal: My IF statement wants to log "TAMED WOLF" to the console if the player tames a wolf.
Problem: My IF statement does not log to the console despite taming a wolf. I am not sure how to check the entity type in entityTame. I am using KubeJS Additions to use entity Tame.