Interface IRole

    • Method Detail

      • getNpc

        net.minecraft.entity.INpc getNpc()
        Returns:
        the NPC this role is assigned to.
      • getType

        int getType()
        Returns:
        the role type ordinal. 0: None, 1: Trader, 2: Follower, 3: Bank, 4: Transporter, 5: Mailman.