Getting mob attributes in procedure system

Published by Crawler on
Status
Duplicate
Issue description

It could be useful to get a way to detect mob attributes with the procedure system so weapons that deal extra / reduced damage for stuff like undead or arthropods would be possible or at least easier to achieve with an "if".

 

Issue comments

oh didnt knew that those where included in the same cattegory since all the  EnumCreatureAttribute.java file got inside is:

package net.minecraft.entity;

public enum EnumCreatureAttribute
{
    UNDEFINED,
    UNDEAD,
    ARTHROPOD,
    ILLAGER;
}

my bad, if I suggest a way to add custom kinds of mobs to that list i.e. "beast" for entities I would need to open a new ticket right?

oh I mean adding new mob types instead of chosing from the vanilla ones